Router improvements.

-Made all map config functions take parameters or route config object.
-Removed some un-needed code from the router
-Surfaced onNavigationComplete and used that to set the document.title.
Now the developer has more control over title and can execute arbitrary
code after each n avigation.
-Fixed the composition system so that it does not call viewAttached more
than once when views are cached. This can be override by setting the
composition binding setting alwaysAttachView:true