more updates to dapp for the History support including updates to pass viewParams and viewData with params and data for specific views, and tests for all of the history support.