Fix /redirect to return absolute URL

This should fix #144 

I also added simple tests to `redirect`,`relative-redirect` and `absolute-redirect`