Redirect signin if authenticated

closes #3147
- added beforeModel redirect
- added test
Persistent notifications

closes #3057
- add Notification model
- update injected Notifications object to handle persistent notifications
- load server notifications on setup if logged in otherwise on successful sign-in
- changed all existing notifications.closeAll calls to closePassive
- fixed dismissable/dismissible spelling in server API & tests
- add notifications.closeNotification method so DELETE calls can be made for server-originating notifications
Remove CSRF from client

no issue
- removed occurrences of csrf from client
Redirect setup if authenticated

closes #3145
- added beforeModel redirect
- added test
Improve ember casper test stability

fixes #3171, fixes #2382, refs #3130

- Moved grunt init from travis into grunt validate, this makes sure we get verbose output from grunt init.
- Added `grunt test` task to run just the tests without building if you want
- Upgraded grunt-contrib-concat and added nonull property (had to switch to src/dist for this to work) #2382
- Upgraded bower to 1.3.5, which appears to resolve #3171
- Changed bower git assets to all be referenced the same and removed resolutions again #3130
Merge pull request #3168 from sebgie/issue#3147

Redirect signin if authenticated
Merge pull request #3170 from sebgie/csrf-remove

Remove CSRF from client
Merge pull request #3172 from sebgie/issue#3145

Redirect setup if authenticated
Merge pull request #3173 from ErisDS/issue-3171

Improve ember casper test stability
Merge pull request #3149 from kevinansfield/persistent-notifications

Persistent notifications
Signin Validation

closes #3120
- create `validateAndAuthenticate` action to validate, send `authenticate` action on success, notifications on error
- signin template uses `validateAndAuthenticate` action instead of `authenticate` action
Merge pull request #3159 from darvelo/signin-validation

Signin Validation
New edit user UI
Prevent stacking notifications during rapid toggle

No issue
-Call notifications.closePassive after the resolution of the
 promise that generates the notifications. Otherwise multiple
 promises can stack up after notifications have been cleared,
 which results in a bunch of stacked notifications.
-Remove some unnecessary propagation of rejected promises from
 action handlers that can result in unhandled reject errors.
Fix up route parameter validation

Closes #3169
-Replace javascript methods that are not available on all
 supported browsers with lodash methods.
-Add returns to transitionTo calls in cases where the model
 hook should stop executing immediately.
Invite user API

closes #3080
- added users.invite() to add user from email with random password
- added `GET /ghost/api/v0.1/users/` to invite users and resend
invitations
- removed one user limit
- added global utils for uid generation
- changed some „“ to ‚‘
Fix direct access to settings/user

closes #3162
- removes injection of user object in application route's beforeModel
- removes injection/cleanup of user object in signedIn/signedOut actions
- removes loading of user and passing to signedIn action in signup/setup controllers
- adds 'user' property to session object
- updates header nav to reference session.user
- sets model of settings/user route to session.user and forces reload
- on leaving settings/user, rollback any unsaved changes
Merge pull request #3176 from PaulAdamDavis/2422-edit-user-ui

New edit user UI
Merge pull request #3181 from jaswilli/ember-misc

Prevent stacking notifications during rapid toggle
Merge pull request #3184 from jaswilli/issue-3169

Fix up route parameter validation