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.