Fix for working with express 2.x and express 3.x

This is a fix that adds the following functionality:

* Work with express 2.x and express 3.x apps
* Make live update work in express 3.x
* Make the console.log output configurable via custom logger
* Fixing the unit tests
* Bumped NPM version