add support for hasOne relations
Merge remote-tracking branch 'upstream/master'
Merge pull request #45 from tacone/master

Add support for HasOne relations