Creates __setitem__ on models to allow setting field values with bracket syntax.
Assigns lastrowid of the cursor to pk after insert in Model.save()