Emit middlewareError when on middleware error.

Now it's possible to pass an Error object to next() and have it handled
in a custom way that's suitable to your application.
Update the README to describe middleware err handler.