Updates for Express 4.0.0

These minor changes allow this module to work with Express 4.0.0.  This fixes #4.