Add beginUpdates and endUpdates where necessary

This fixes a bug in the `TemplateFieldsExample` that you can reproduce as follows:

* Launch the simulator
* Add Item, don't fill out any text
* Delete the newly added item
* press Add Item again

A ton of empty new rows are now inserted into the tableview.