Add tests for model associations and fix bug with embedded hasMany
Simplify model test
Fix bug found by @nodesocket where belongsTo causes null access when trying to use properties of a belongsTo before its loaded
Add promises for model loading, switch models to use ModelArray for hasMany associations
Fix bug with promises for embedded objects
Add promises for model lifecycle methods
Add tests and fix bugs for model promise lifecycle methods
Tweaks to tests
Fix bug where model arrays reused the same array
Fixed customer to work with new hasMany
jshint
Merge commit '69eeb18ccad7139a515bccd9a7f7f35f93e3dcfd'