allow model.defineProperties to be called with an object and allow the property to have a string for the type instead of an object.
Merge pull request #143 from sazze/master

allow model.defineProperties to be called with an object and allow the p...