No leading or trailing blanks in UDF names

* Data migration to delete existing ones
* `strip` before saving
* Update a test to ensure leading and trailing blanks removed