Added route priority feature.
Fixed bug in HTTPError.
Added documentation for Middleware.
Added middleware documentation.