[Core] Primary key can be set manually if not autoincrement

Got an error while setting a PK manually and I had to do this. As a
non-autoincrement,, if must be set manually. So now we can set a key
value which is not automatic.
Merge pull request #51 from EkoSolutionsBe/master

[Core] Primary key can be set manually if not autoincrement