fix query generation for one-to-one relations
Add support for signed and unsigned integer types as primary key type
Fix can't update record with customized primary key
Refactor getInterfaceAsSql
Remove unnecessary ToSnake
Merge branch 'BugHert push origin master-fix-one-to-one-relation'
Add gorm.Wrap to wrap an existing db connection with gorm.

This commit gives you the ability to specify the db connection that
gorm will use.  The code is based on the gorm.Open command, but
stripped down.  Since the connection already exists, there is much
less work needed.

This features lets you integrate with goose, which provides an
existing transaction to each migration.  Goose runs the migration
infrastructure, and gorm can provide the SQL.