Fix broken query string parsing with hash routing

Fixes https://github.com/swipely/aviator/issues/55

@flahertyb @barnabyc