Bumped express to 4.0.0.

Added the missing middleware as dependencies.