Phase 1 of adding asset metadata saving to old Mongo

@dmitchell @cpennington Here's the first phase of my work. Look at the tests to see what is implemented and what isn't yet.
The reason I didn't initially was to avoid the chain of changes needed to support a new format. But - seems like a good time to make it right.