Adds ability to specify a function as the defaultsTo property for model attributes. Calls in context of the model itself.
Merge pull request #254 from lwansbrough/v0.10

Adds ability to specify a function as the defaultsTo property for models