Custom product data

Enable custom product data from the csv import/export tools. Required a good bit of refactoring from the previous style.
Probably, but this was all written fairly recently and switching import/export of products to excel seems like a separate issue.