AuthenticationService unit test JSHint.
Renamed variables and functions related to synchronizing items in MainController.
Removed unused getAuth method.
Removed JSHint globals. Use .jshintrc.
UserSessionService unit tests.