Fixes deprecation on sending response.

express deprecated res.send(status): Use res.status(status).end() instead lib/rest.js:121:12