Fixes to staging migration 0004 (better handling of orm).
Update to CollectionResource to enable finding parent.
Update auvimport (from datafabric) to use separate ScientificMeasurement

Also includes update to directly commit to database instead of creating
JSON strings as an intermediate. Protected from failures with transactions.