Add 'auto pk': either app or db can supply new ids

Adding `"auto_pk": true` to a table's metadata means that the table
autogenerates values for primary keys for new rows. The default is false,
meaning the application must supply PK values.
Update TODO
Read metadata from stdin, write gen code to stdout
Fix bug
Notes to self
Add initial tests