Fixed 2 situations on model.save where the promise was not rejected
Fixes associations when being sent null as value in association array when creating a model
Merge pull request #576 from luislobo/fixes-null-in-associations

Fixes associations when being sent null as value in association array when creating a model
attach alias to internal schema definition
Remove destroy() criteria check since it is supposed to be optional

Fixes #548
Remove commented-out lines
fix issue with onKey in nested updates
fix issues with transformations and incorrect schema keys
fix refactored var name
fix test to accept collections as an array
Merge pull request #577 from blah238/remove-criteria-check

Remove model.destroy() criteria check
Merge pull request #568 from Zeroto/promisefix

Fixed 2 situations on model.save where the promise was not rejected
fix for invalid criteria
fix issue with incorrect criteria in update
update minimum waterline-schema version
0.10.6
move type casting for polyfilled elements into the model
fix to skip coercion when complex criteria is used on the pk field
bump min version of waterline-schema
0.10.7