refactors embedded in root associations
adds tests
fixes association definition order bug
Merge pull request #2 from americanhonors/feature/refactor_embedded_in_root_associations

Feature/refactor embedded in root associations