Express 4.x compatibility

It turned out that connect-pg did not work with express 4.x, so I've tried to fix that. The new code should be compatible with existing code. For express 4, express-session can be passed to the module as shown in the examples in Readme.md.