adding spec test to make sure query strings can be used
fixing locale-forwarder so it handles URLs with a query string - fixes #677