Why not include your message in the url and then place it where you want it using javascript?
self.redirect('/book/%s?message=%s' % (str(b.key.id()), "Good job! You've created " + title)
for the js do something like this...
alert(document.location.substring(document.location.indexOf("?message=")+9, document.location.length));
Hope this helps!