Remove a lot of unnecessary imports and whitespace, and fix a bug that would've caused issues when a user tried to authorize an application for which they lacked permission.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix some bugs, such as not checking if a user was logged in for the character/account/key detail pages, and showing the add permission box on character detail pages to those who can't grant permissions.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix application editing, and improve permission related performance on the graou management page, application management page, and the application browse page.

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

Feature/permissions fixes