Update Middleware.md

Fixed spelling, formatting and added code for customMiddleware
Merge pull request #192 from knight-of-design/patch-2

Update Middleware.md