Support for preload of Struct Ptr
Support for preload of Struct Ptr

This fixes the issue when preloading .Preload("Project.Repositories").Find(&[]User{})
with 
type User struct {
  Project *Project
}

type Project struct {
  Repositories []Repository
}

type Repository struct {
...
}
KevinSjoberg/gorm,ulule/gorm,wallclockbuilder/gorm,liudanking/gorm,unravelin/gorm,lscieux/gorm,ModelRocket/gorm,ulule/gorm,liudanking/gorm,gernest/ngorm,sunfmin/gorm,awakenetworks/gorm,arthurpro/gorm,unravelin/gorm,seatgeek/gorm,sulnedinfind/gorm,postmates/gorm,ilgooz/gorm,wallclockbuilder/gorm,ch3lo/gorm,senseobservationsystems/gorm,trigrass2/gorm,bpizzi/gorm,armiller/gorm,acdgfh/gorm,jaytaylor/gorm,jmptrader/gorm,NOX73/gorm,bpizzi/gorm,kiwih/gorm,andviro/gorm,trigrass2/gorm,OscaRoa/gorm,jmptrader/gorm,jinzhu/gorm,Acidburn0zzz/gorm,ch3lo/gorm,ngorm/ngorm,pariz/gorm,ivpusic/gorm,senseobservationsystems/gorm,kimiby/gorm,sunfmin/gorm,armiller/gorm,sdhjl2000/gorm,aspcartman/gorm,pariz/gorm,yibin001/gorm,kimiby/gorm,aperera/gorm,aspcartman/gorm,d4l3k/gorm,seatgeek/gorm,nkovacs/gorm,ModelRocket/gorm,ilgooz/gorm,javierprovecho/gorm,andviro/gorm,sidorenko-ruslan/gorm,arthurpro/gorm,sulnedinfind/gorm,sdhjl2000/gorm,nkovacs/gorm,postmates/gorm,jinzhu/gorm,acdgfh/gorm,yibin001/gorm,ivpusic/gorm,lscieux/gorm,kiwih/gorm,sidorenko-ruslan/gorm,Twister915/gorm,d4l3k/gorm,Acidburn0zzz/gorm,KevinSjoberg/gorm,jaytaylor/gorm,Twister915/gorm,NOX73/gorm,javierprovecho/gorm,OscaRoa/gorm,aperera/gorm,awakenetworks/gorm