Fix HasOne PK on modelFrom instead of modelTo
Tests for non standard id - hasOne and polymorphic
Merge pull request #334 from pandaiolo/fix/has-one-pk

Fix for HasOne relation with non-standard id