Refactored the way enumerations are stored to turn enumerations into JSONModel.
Enumeration migrations
Save having to open DB connections manually by exposing $testdb to the test suite