Fixed incorrect escaping of semicolons in compound values; fixed
incorrect addition of extra 'N' and 'VERSION' properties on export;
added functionality to remove leading and trailing semicolons from
compound property values on import.