Update middlewares to work on the specified express without warnings.
Merge pull request #81 from futurice/remove-warnings

Update middlewares to work on the specified express without warnings.