Fixing dependency in user ApiController so it does not rely on the UserManager for the repository
Adding user ApiController tests
Adding methods for fetching mock container and router to AbstractUnitTest
Adding ProfileController tests
Removing pointless method stub in SecurityController
Adding tests for SecurityController
Improving user TemplateController so it re-uses existing helpers
Updating user TemplateController so it does not extend framework controller
Removing unused 'use' statement
Adding user TemplateController tests
Correcting scope of user TemplateController service to 'request'