Form code to clean imported fields

* Empty phone number used to be represented by 0. Now it's NULL.
* Make the city field title-case at import