Make changes to the Mongo modulestore format for asset metadata.

Move the asset types under a top-level 'assets' dict to allow for future arbitrary asset types.
Change 'basename' to 'pathname', since the attr is for storing the path.