Use query for URI of external pages instead of path info

Chromium/Chrome converts %2E to .(dot) when the link is clicked
and Rails consider following string as file extension.
Merge pull request #62 from iiirc/fix-transition-for-chromium-implementation

Fix transition for chromium implementation