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
Better function name
Use path compilation
Use React-style filenames and requires
Put helpers in separate files
Print warning when routers do not match the current path
Fix reference to uppercase files
Merge pull request #25 from jeroencoumans/master

Fix reference to uppercase files
Add support for * URLs
dom tests
Small tweaks
Do not modify last path when using replace
fix undefined variable message
fix undefined mergeInto
Remove context stuff

Helps #26
Add reversedArray helper
Add withoutProperties helper
More explicit query check
Notify listeners of changed URL

Fixes #24