Added declarative_authorization's using_access_control to the models
Made is_manager default to false for User model
Extracted RM code into a library
Minor fix for JS unit tester
Minor whitespace cleanup