Remove SecurityController

* Changed this to be a pure service with no controller. The controller presented issues with the state of variables that caused unexpected behavior. It is also unneccessary to have the controller since this can be implemented as a single function call by other controllers to accomplish the same thing.
* Added 'permit' method call to service and migrated all tests for it.
* Added 'roles' method call to service and added tests for it.
* Linting test file now.