Transfer Ownership

closes #3364 (special thanks to @jaswilli)
closes #3087
- added modal
- added controller
Change signout link to button

References https://github.com/TryGhost/Ghost-UI/issues/65

- Swap signout link from an `<a>` tag to `<button>`
- Changed tests to match new element
Redirect authors and editors away from debug page

A signed in user with role author or editor will be redirected back to
/ghost.

closes #3292
Preventing rogue modals from popping up when hitting the enter-key

closes #3352
- adding a ```type``` attribute to buttons inside form in the settings section
- scanning the rest of the project to find any other buttons w/a missing attribute
Fix incorrect error

closes #3373
- added check if role is already assigned
- added check for unknown fields to fixDates/fixBools
- permissions are not implemented yet, so everyone is able to edit
owner ;-)
Wrong Facebook page URL
Merge pull request #3381 from SiR-DanieL/patch-1

Wrong Facebook page URL
Merge pull request #3359 from morficus/issue-3352

Preventing rouge modals from popping up when hitting enter-key in settings section
Merge pull request #3362 from sebgie/issue#3087-2

Transfer Ownership
Merge pull request #3380 from sebgie/issue#3373

Fix incorrect error
Improve handling of users and roles in admin

Closes #3083 Refs #3229
- Populates the dropdown list in the invite user menu with the
  list of roles a user is permitted to create.
- Users API now checks the invite user request for allowed roles.
- Change API response from 200 to 201 on successful invitation.
- Change API response from 500 to 201 when the user was created but
  the email was not sent.  The client will show a warning notification
  when it sees 'invite-pending' as the new user's status.
- Add support for "?status=all" to the /users endpoint.
- Refactor the route and controller for the /settings/users page so
  that there's only one network API call to load users instead of two.
Signin error notifications kept from stacking

closes #3375
- Prior to showing error notifications, the signin route now calls
  closePassive().
Merge pull request #3388 from jaswilli/issue-3083

Improve handling of users and roles in admin
Signin: Proper notification if user not found

closes #3374
- If user object is returned but undefined, we'll display a
human-readable
error notification (user model)
- If user object is returned, but the user is inactive or invited (but
not
activated), we'll display a human-readable error notification
Five posts per page
Merge pull request #3354 from JohnONolan/ppp
Merge pull request #3368 from felixrieseberg/master

Show errors on reset page (Closes #3330)
Merge pull request #3376 from felixrieseberg/iss3292

Redirect authors and editors away from debug page
Merge pull request #3377 from PaulAdamDavis/signout-button

Change signout link to button
Hides <Users button for authors

closes #3295
- The <Users button visibility is now restricted by user role