Attributes

- fixed some issues with converting attributes with properties to attributes with values
- attributes of mixins are now correctly added/removed to/from an entities attributes if the mixin is being added to it
- fixed definition of attributes in classes derived from entity to not include the attributes from their parents