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