Support custom loggers
Using typeof keyword instead of function
Merge pull request #63 from alex-whitney/aw/custom-logger

Support custom loggers
Update OAuth2Error to inherit from base error

OAuth2Error looks like an error, behaves like an error but it's not
actually an error. This can lead to all sorts of erratic behavior if one
expects it to be an instance of Error. These changes are fully
backwards-compatible. The error handler has been updated to keep the
error response compliant with a typical OAuth response.

Several tests have also been added to the error class.
Merge branch 'seegno-feature/oauth2error-inherit-error'. Closes #68
fix incorrect test
Add test for empty token in body
Allow null body

See #69
Merge pull request #71 from thomseddon/fix/allow-null-body-safe

Allow null body
Regarding to:
http://blog.tompawlak.org/new-features-node-express-4

Many middlewares are now external deps, and app.configure no longer
exists.
Big readme cleanup

 - Convert to unix line endings
 - Remove anything other than module init
 - Improve text in places
Merge pull request #72 from jokesterfr/update-to-express-4.x.x

Update examples to express 4
make jshint happy
Update tests to use express 4

Also fixes lockdown method for express 4
Update mocha and should
Update supertest (+fixes)
Update readme and changelog
2.2.0
Fix node 0.8.x (well npm 1.2.x) support
2.2.1