No leading or trailing blanks in UDF names

* Data migration to trim existing UDF names
* `strip` name before saving a UDF definition
* Update a test to ensure leading and trailing blanks removed