Adds response codes and tries to control error output by enviroment

Fixes #4 

- Adds response codes
- Tries to control error output by environment. I'm not clear how `app.use(function(err, req, res, next)` works?
- Removes use of `app.configure()` as node was throwing `express deprecated` warnings.