Added enum parser
Added enum value checking in entity
Added tests
Merge branch 'enum' into develop