Changed importing of datatypes to update render controls and set correct DB types

New data types were being created with random DB types (we changed the export so that the DB type was included in the XML, and the import so that it was updated)  We had to use the new API for this bit as it is internal in the old API.

Also if the render control is changed, then it now gets updated.

(We had to remove the post-build copy step because it wasn't working for us, so it might need to be added back in.)