New structure for for attributes
New type cast implementation

- added polimorphic attribute types
- added attribute-grain control on change event bubbling
Small fix from Volicon trunk
Merge pull request #21 from Volicon/feature/20

Feature/20