Made Middleware compatible with Connect for use in Grunt builds with grunt-contrib-connect

*  `send` is undefined when trying to use Connect
* Connect doesn't automatically extend the request object with a parsed `query` like Express does
* switching to `end` from `send` isn't quite right, as Connect doesn't automatically serialize javascript objects to JSON like Express does.
* ultimate solution is to parse the querystring with `url`, use `end` and serialize the array by hand

Since Connect builds on standard Node, and Express [builds on Connect](https://github.com/visionmedia/express/blob/master/package.json#L25), this is compatible.

FWIW, this variation works __great__ in my build.