Replace dynamic properties by dynamic attributes

Dynamic properties haven't really proven useful, and they might make more
sense for model attributes
Add lazy dynamic property
Use dynamic attributes in relations
Add compiled and minified version
Use lazy dynamic property in hasMany relation

This will speed up loading times when loading a large number of
models.
Merge pull request #18 from inventid/feature/apply-dynamic-properties-to-attributes

Apply dynamic properties to attributes