Allow URI objects as redirect targets

If the object you pass to `#redirect` is a URI, redirect shouldn't do anything weird, it should just work.