Updates to entity managers and tests for the three core entity managers. About 85% coverage. Added some files from requirementsmanager/test to support mockDB.