Migration to Express 4

A fresh checkout of the project does not work out of the box, because the code is not compliant with Express v4.

This makes the project run with the last version. 
Note that I have no knowledge about express, some issue may remain, although the basic features seems to work correctly.