Cleaning up units library

- Fixes defect http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-2465
- Fixed an issue in FFI, to pass the attributes on Enum as well to DS
Engine, so that Enums can be hidden.
- Updated the Unit test Dyn file, as there was no migration path available to old unit nodes.