Updated ApiUser
Bunch of moving around deprecated code and renaming classes
Added mockito testing framework. Added tests for ApiFilter. Added a MockFilter to test filters. Added base controllers. Bunch of import name changes. (Accidentally added all changes for commit hence the massive commit)