MoCatalog: catalog based on mo streams

Read a mo file from a stream, and creates a dictionary-based
ResourceCatalog from it.