Fix /redirect to return absolute URL

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