Also refactored some role content, primarily updating the permission controller to be RoleController since it only dealt with roles.
In progress, Need to implement much of the logging in controllers. Also cleaned up base controller along the way.
Repos are generally better since otherwise we end up duplicating things between front-end and API. Types moved to by CONST values within a class for better visibilty of usage and listing of types.