Allow for setting of parameter patterns globally on the router

Also fixed a test which did not actually test anything.

See #176
Merge pull request #253 from JoostK/global-wheres

Allow for setting of parameter patterns globally on the router