fixed ManyToOne issues with inherited fields and associations
Merge pull request #103 from SiteSupra/issue_87_new

fixed ManyToOne issues with inherited fields and associations