Support inheriting OneAssociation.
Merge pull request #566 from DimaSamodurov/master

Support inheriting OneAssociation.