Add a UI to simplify adding supported permissions to an app
Add functional tests
Fix over-long lines
Users can now be "superusers"

Also changed it so that only superusers can edit applications.

The intention is that we'll use this role for other things - for
example we'll move from an admin being able to make/unmake people as
admins to that being restricted to superusers.
Let superusers edit most attrs of applications

Also add some help text and improve UX.
Explain what different roles are able to do
Fix whitespace
Only superusers can set user roles
Merge remote branch 'origin/master' into add_superuser_role

Conflicts:
	app/views/superuser/applications/index.html.erb
Fix a path that has changed
Upgrade to Rails 3.2.11 for security fixes

Jordan Hatch is disabling the vulnerable functionality here:
https://github.com/alphagov/alphagov-deployment/commit/b27aa94c4a36249614580f52f25f9f60d5283a49

See:
https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion
Merge pull request #47 from alphagov/bump_rails_to_3.2.11

Upgrade to Rails 3.2.11 for security fixes
Improve create test per pull request comments

*   GET create -> POST create
*   Only do a single request in the test
Clean up revoked_token test code
Upgrade Doorkeeper to 0.6.7

This will let us automatically "authorize" an app - rather than force
the user to click "Authorize" on first use (or "Deny" which we don't want).
Automatically authorise apps

Until now, when you use any app for the first time, you had to manually
"authorise" (or "deny") "access" to the application. This is complexity
that doesn't do us any good, and probably confuses users.

Now, it will automatically be authorised.
Move update passphrase into a dedicated route

This makes adding generic update cleaner.
Update auth error page for modern Doorkeeper

The variable name had changed, so broke the display of errors.
Merge remote branch 'origin/master' into automatically_authorise_apps

Conflicts:
	app/views/doorkeeper/authorizations/error.html.erb
Merge pull request #44 from alphagov/add-supported-permissions-ui

Add a UI to add supported permissions to an application