Leave ID generation to autoincrement feature of backend DBMS

Remove TghModel.NewID method, new ID is assigned to -1 on constructor
ID value updated on call to TghModel.Save
Add check on autoincrement ID generation
Speed up on TghModel.Save and TghModel.Load