Updated api docs for lib/middleware
Merged downstream from mojito#next
Fixed the following startup files:
- tests/fixtures/**
- tests/func/applications/frameworkapp/**
- tests/func/applications/performanceapp/**

Also updated controllers and models which were no longer compatible with later version of Mojito (e.g. creating controller via "Y.mojito.controller = { ... };".
Based on PR feedback:
- Fix end-of-line
- Update lib/middleware api docs
Added missing end-of-line.
Merge pull request #1330 from imalberto/search-next

Updating startup files for tests fixtures