fix Model.__init__() construct for models with a foreignkey in the priramy key
Merge branch '1.4.x'