refact(grunt) upgrade to grunt 0.4.0
refact(grunt-server): Upgrade to grunt 0.4.0
refact(authentication) move into common/authentication
test(login-toolbar): create unit tests (needed to use jquery in the tests to get selectors)
refact(authentication): major refactoring of the auth stuff.

Now uses $dialog service from angular-ui bootstrap project
Fewer watches
Cleaner authentication service API
fix(authentication): Make sure request queue is actually cleared if login form is closed
fix(login-toolbar): fix invalid reference to currentUser in template
fix(authentication): test for login needed to open the login form first
fix(login-toolbar): correct test for visibility of current user info
fix(authentication): redirectTo doesn't exist
fix(authenticationInterceptor): remove unused dependencies
feat(grunt): add test-watch task
refact(retryQueue): swap order of params for pushPromiseFn
fix(authentication): === in retryQueue, and rename promiseFn
fix(authentication): remove console.log