Use absolute URI for the location header 

Fixes issue https://github.com/facebook/tornado/issues/657