Added "toParams" to the redirect

This ensures that existing parameters required for abstract parent states are preserved.

I made the (very minor) change, as well as adding a new test cases specifically for this issue.

This PR replaces/closes issue #17