fixes code generation and attributes in enums
Merge branch 'master' of https://github.com/signumsoftware/framework