Routing can cope with question marks in URL

The routing routine failed when e.g. a third party added normal
"question mark GET parameters" to the URL. With this commit these
parameters are removed before the URL parts are separated.
Merge pull request #1 from dubbl/master

Routing can cope with question marks in URL. This drops the GET params, but doesn't seem to preserve them.