Major design improvements to view engine.

Minor braking change to view locator and view engine. Most likely, no
one was using these apis yet.
router change
Fixed a dom timeing issue with the router.