add more checking/waiting to the unstable tests
Merge pull request #1316 from lzhan/next

add more checking/waiting to the unstable tests
- lib/dispatcher : removed unused function
- lib/app/autoload/route-maker : added support to look up and resolve path based on a route name
Refactored lib/mojito to use "Branding" as an extension to Express app.
First pass at adding support for ac.url.find()
- lib/middleware : BC change for applications that specify mojito-* middleware configurations via application.json (e.g. mojito-debug)
- lib/router: Fix to use static `appConfig.routesFiles` to load routes  configuration (mojito-debug uses RS addon to modify `routesFiles`)
Removed references to `port`.
Removed explicit reference to `express`.
Added unit tests for route-maker#find()
Removed unused logging statement
- Added more lib/router tests
- Fixed broken unit tests
More unit tests for lib/router and lib/mojito.
Updated all the examples/ `app.js` that functional tests uses.
More fixes to `app.js` under examples/.
Functional tests fixes.
Removed use of Arrow locator since its causing timeout failures
Merged with origin/search-next