Fixing functional tests to work with `app.js`

- Updated built-in middleware interfaces
- Removed the error handler middleware, to provide more control to the application
- lib/mojito.js will first read PORT from process.env, then appConfig.appPort
- tests/run.js : some hacks to work through the list of functional tests
- added missing app.js to test apps.
Fixed examples/input functional tests.
Fixed examples/simple/* functional tests
- Removing unnecessary logs.
- Fixed middleware unit tests
- Updated log settings for functional test binding_events
- Updated run.js to skip some known tests (for now)
Fix unique list of descriptors
Merge pull request #1141 from imalberto/fix-test

Fixing functional tests on #next