Set model.uuid only when saving.
Changed PTLocalStore to a simple key-value store, since the table/record structure is already represented by PTModel/PTCollection.