fix more uninitialized fields in enum
split the "enums" table in two
add a function to iterate through enum values, similar to structs
Merge pull request #18 from boucman/master

various improvements to enum