Added a public redirect
Also some minor cleanups in the redirects code.
Patch by: Sverre Rabbelier
A list of bugs is available in the Google App Engine SDK project on Google Code.Please visit http://code.google.com/p/googleappengine for more details.