Use the primary key type for the generated foreign key
Merge pull request #61 from strongloop/feature/fix-foreign-key

Use the primary key type for the generated foreign key