Add some middleware related docs.

I've added some middlewares related stuff, I'm not sure, probably it's not right place for putting info about existing middlewares and way how users can add them..