Fix autoIncrement when primary key is not a number

Example: using UUID for primary key
Add defaultValue to auto generate UUID
Fix failing tests
Merge pull request #1 from SimonDegraeve/fix-autoIncrement