Fixes #119 - Install now retrieves auto-increment ID before inserting custom fields. Should work better in production sites with existing data.
Merge pull request #136 from fjg-conflux/119

Fixes #119 - Install now retrieves auto-increment ID before inserting custom fields.