allowing the 'ws-server' to process plain http GET requests

This is a port of the changes proposed in https://github.com/aphyr/riemann/pull/422

I've switched the uri's to /index and the 'q' parameter is now 'query' to be consistent with the existing websockets uris.

provides:
    GET /index
    GET /index/{host}
    GET /index/{host}/{service}

It's not 100% consistent yet, there is some work I need todo to retrofit some of the new helpers into the websocket handlers.

only cos I was ripping off your code from the ws-handler :) 

thinking about it again it doesn't actually make that much sense.