Add morphClass property to allow polymorphic relations on extended models
Merge pull request #4247 from deiucanta/4.1

Add morphClass property to allow polymorphic relations on extended models
Code organization.
Merge branch '4.1' into 4.2