Issue #3274: Migrating data format
Fixed some minor bugs and added some data format migrating functions to try to keep a pattern to stored data. Examples:
ZIPCODE
"01234567" >> "01234-567"
"01.234-567" >> "01234-567"
"1234567" >> "01234-567"
PHONE-NUMBER
"23456789" >> "(00) 2345-6789"
"0123456789" >> "(01) 2345-6789"
"1234 5678" >> "(00) 1234-5678"
"01*23456789" >> "(01) 2345-6789"
Due to some data inconsistencies (as embedded multivalues and mess with the fields), it's not possible to migrate all the stored data.