support query string in the path for route matching

address query string issue reported in https://github.com/yahoo/routr/issues/7

@mridgway @redonkulus @tindli