Add some middleware related docs.
Merge pull request #16 from yogthos/middlewares

Add some middleware related docs.