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.
This seems like it's going to leave room for uncomfortable collisions that you might not get if you the metadata for each asset as a separate document.