Auto setter for relations with tests (thanks to Jan →).
Support for subclasses of the model specified.
null is also a valid value to be set for relations
Merge pull request #3 from tuupola/gh125-setter-for-relations

Gh125 setter for relations