Bug/broken create programmefield

Fixed two bugs:

* couldn't create a new field because of the empty_default_value being set to null rather than 0 if not present
* couldn't create textarea fields with TEXT type in the db