Fix preserving URI query string. Closes gh-534.
Merge pull request #535 from chaplinjs/topics/fix-query-string

Fix preserving URI query string. Closes gh-534.