upgrade to express 4.x

As you mentioned, upgrade to express 4.x

* Replaced all the depreciated libraries with the express equivalent.
* Also removed the errorHandler function as it wasn't doing anything.