Revert "change resource_type to a choice field"

This reverts commit 9b2518d4411d3df7062998f74e595a66b301d8b2.
add unique_together for TimeSeriesDataType
make UNIT_TYPE_CHOICES part of the Unit model