Refactor the relation handling and enable it with attach
Add a test case for relations during attach
Extract the relation types
Merge pull request #36 from strongloop/redefine-model

Refactor the relation handling and enable it with attach