Cleaned up order of javascript script includes
Used module var instead of doing a long chain
Switched from Util to Navigation for gotoUrl function

Moved the gotoUrl function into Navigation module from Util. Corrected
files that use Util to use Navigation.
Tidied up password page controller
Added navigation tests and work arounds for route testing

used $templeteCache in tests to work around the route module trying to
load the views problem.