Updates to dapp for the History controller support

Updates to dapp for the History controller support including updates to pass viewParams and viewData with params and data for specific views, support to hide a view on browser back if it was just shown on the current view, and tests for all of the history support, as well as new config options for alwaysUseDefaultView and hideUrlHash

I noticed that I left onclick in one of the history test templates, update it to on-click
right, I will make that change too.