Bug fix to the routes not matching query params

Added onFailure to the future chain
Reduced the use of Futures to the RequestHandler
Fixed bug in the routes function that was matching the query params, instead of base action