(no bug) fix typo in API docs
Fixed bug 723671 add schema revision info to middleware
Review fixes
* Cleanup unused variables and old middleware support r=adrian
* Fix tuple syntax r=peterbe