Set autofocus on input field

As a superadmin
When I am adding a new permission
I would like the focus to be on the input field
So that I can start to type without tabbing or clicking
Merge pull request #250 from alphagov/feature/add-permission-autofocus

Set autofocus on input field
Fix title on user edit page

Without this, the page title is:

<title>Edit &amp;quot;<name>&amp;quot; | GOV.UK Signon</title>
Merge pull request #251 from alphagov/fix-title-on-user-edit-page

Fix title on user edit page
API user list, create, and edit actions

1. separate ApiUser class allows us to configure
   cancan abilities better.
2. re-using suspension actions, just redirecting
   back to the correct edit page.
3. added the table name to Doorkeeper::Application
   default_scope otherwise there's an abiguous name
   column during a table join.
4. hiding "Has access?" column in the permissions
   grid on api user's edit page, in favor of the
   Tokens table and assigning 'signin' permission
   by default whenever token is generated for an
   application.
5. templates by Paul H.
Manage API user access tokens

1. using zeroclipboard library for 'Copy to clipboard'
   button for access tokens.
2. fixed n+1 issues in UserPermissionsControllerMethods
   by performing some grouping operations in Ruby.
Integration test for managing API users
Feedback on PR

1. removed inline styles.
2. added a generated at timestamp to tokens table.
Event log entries for API user events
Merge pull request #248 from alphagov/ui-for-api-users

UI to manage API users
Change suspended and locked messages

Improve the account suspended and locked messages. Signon accounts are temporarily locked and suspended indefinitely.
Update test for change to suspension message

Update the test for the change made to the suspension message made in https://github.com/alphagov/signonotron2/commit/68514ef43b71f5e645c597d3b2f3202cf207c732
Merge pull request #253 from alphagov/correct-error-messages

Change the suspended and locked error messages
Integration test for managing API users
Restrict user status text for API user

an api user can only be suspended, locked or active.
Fix edit link for API user

the edit page for a normal user was being
displayed for an API user.
Show a truncated access token on API user edit

this will allow us to match it with configured
values, without giving away too much.
Don't create duplicate signin permissions
Merge pull request #255 from alphagov/ui-for-api-users

UI for API users
Hide API users from normal users list

Also, correcting HTML entities in the title and
link on the api user access log page.