Merge tag 'v2.3.1'

2.3.1
Cleanup mixin tests
Refactor modelTo logic into lookupModelTo
Merge branch 'master' into fix/refactor-modelto
Tiny fix: use setAttributes
Enable DL definition of embedsMany + referencesMany
Refactored embedsMany (relationName vs. propertyName)
Fix scopeMethods closure issue
Fix links to confluence docs
add count to relations

Signed-off-by: Jaka Hudoklin <jakahudoklin@gmail.com>
Fix formatting
Implement scope.defineMethod/relation.defineMethod
Allow runtime override of scope/relation order query param
Allow partial list of ids for sortByIds
Remove redundant test
Merge pull request #210 from fabien/fix/embeds-many

Tiny fix: use setAttributes
Refactor modelTo logic into lookupModelTo
Merge pull request #209 from fabien/fix/refactor-modelto

Refactor modelTo
Enable DL definition of embedsMany + referencesMany
Refactored embedsMany (relationName vs. propertyName)