Fix authorization under csrf protection

Since the authorization page was posting to window.location, the url was
absolute, and the external-xhr check was triggering.

I cannot believe this is how one parses a URL in javascript.
Pin size of image in authorize button to 32px

This way when script.js retina-ifies it, it stays the proper size.
show as currently in admin area only if the user is an admin
don't show groups and admin areas to non-admins
Merge pull request #269 from eve-val/admin-area

Admin area tweaks (fixes #266)
Merge pull request #268 from eve-val/fix-retina-sizing

Pin size of image in authorize button to 32px
Merge pull request #267 from eve-val/fix-csrf-authorize

Fix authorization under csrf protection
Add alternate script for updating keys.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Require a minimum key mask for applications that have one specified.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Allow applications to use the masks they require and alert users to the required permissions.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix a bug that would cause the script to fail if an HTTPError were to occue

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Ensure we always return an integer for the mask field in core.info

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix a bug where invalid masks were getting approved in EVEKeyMask

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Report empty /authorize requests as 400s
actually don't add a double import
Kill some dead key table code.

Fixed a missing column border marker while I was at it.
Fix a bug when the user's primary character does not have a valid mask for an application, and clean up the key mask evaluation code.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge pull request #278 from Acidity/feature/minAppMask

Allow applications to require a minimum key mask for authorization.
Merge pull request #281 from eve-val/key-table-cleanup

Kill some dead key table code.
Add a config value for the recommended minimum mask for users.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>