fixed not loading idcolumn if autoincrement in tables.php

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | 
| Refs tickets  | 
| License       | MIT
| Doc PR        | 

After calling insertObject the inserted obejct does not contain the new id, if the table definition in the tables.php contains AUTOINCREMENT instead of AUTO.