Also adjusts some styling following core changes.
This commit also - Removes use of api.onPageChange in favor of the router service - Removes JQuery use - Uses currentRouteName instead of currentURL so that the bar is hidden for loading substates
This introduces no functional changes, it simply copies the js and templates into their own files, and applies prettier formatting.