dia to sml: add test for enumerations in transformer
dia to sml: add test for exceptions in transformer
diagrams: tidy-up dia to sml

- remove unused exception validation error
- add methods to object transformer and its interface
dia to sml: codegen model using latest diagram