Updated to support Express 4 and JSHint

res.json has been deprecated in Express 4. Also fixed up environment to pass lint (JSHINT)