Add new managed resources implementation

A new ManagedStorage interface allows blobs to be stored in a mongo database. The blobs are initially namespaced to an environment but apis will be added to the interface to allow data to be stored globally or against a given user.

Data is de-duped when Put - if there is already a blob with the same checksums (md5/sha256) it is not stored twice; a reference to the original data is used.
Our existing collections are named as the plural form of the documents they contain, like "environments", "networks", etc. I think this should be "managedresources" for consistency.