ui-router, browsehappy and html5 misc changes