Fix for tornado redirect function, was not properly returning.
Merge remote-tracking branch 'origin/dev'