First pass at integrating express-map and express-routes.
Other changes include:
- doc api updates
- multiple minor code refactoring
Now using `express-map` to created named route configuration.
Simplified route configuration serialization between add ons and client runtime.
- Added RegExp to whitelist for cleanse
- No more converting route configuration to "old format"
- Now using express-state/lib/serialize
- Updated route lookup based on express-map pr#4
- No need to explicitly copy over the `annotations` property now that routes configuration is read from express-map#getRouteMap()
Removed unused code.
Deleted unused code.
Updated from PR feedback
- Added `resetRoutesConfig` for force Mojito to reload route configuration at runtime.
- Unit tests fixes
Added optional second argument to `dispatcher.dispatch` to pass any static route params.
More tests fixes.
version of PR1236 (hotswap support) for "next" branch
Merge pull request #1239 from lzhan/next

update app to meet next changes
- Revised proposal based on updated api from `express-map` and `express-annotations`
- Added sugar `app.mojito.get('foo', '/foo', 'foo.index');` to register routing with Mojito
Updated HISTORY_next.md with deprecated APIs
- 2nd pass over the routing api
- Updated apidocs
- More unit tests fixes
Merge pull request #1240 from drewfish/onestore

version of PR1236 (hotswap support) for "next" branch
- Removed all references to 'find()' methods
- Removed all references to 'annotations' - no need to serialize to clients
- Removed 'decodeRouteName()' since it is a one way operation
- Removed sugar methods for the router
-
Changes based on PR#1233 feedback.
Fix leaking parameters to caller!