Allow post/patch of nested submodels

Recurse into nested relationships and find/create models on post/patch
(previously threw TypeError: unhashable type: 'dict')
Changed for readability
Merge pull request #222 from logandk/add-related-error

Allow post/patch of nested submodels