Fixing #734 that causes a StackOverflow when we use Result.redirectTo

Fixes #734 pull request that causes a `StackOverflowError` when I use a `Result.redirectTo(Object)` in my application. The #734 pull request forgot to add a cast to `Class<T>` to call `Result.redirectTo(Class<T>)`. So the method call himself infinitely throwing a `StackOverflowError`.

I'll merge this pull request because can break some apps. I have tested in my application right now and everything works fine. And if any problems occurs we can fix (I think won't), we can rollback.