preserve query parameters in match

Fix for https://github.com/google/uri.dart/issues/12