Include query string when retrieving window path

Seems query string routing as only working in hash-mode, this tiny fix makes sure `getWindowPathname` uses both `pathname` and `search` properties of the location object.
Merge pull request #23 from sbrekken/patch-1

Include query string when retrieving window path