Register module manager in the dependency manager.

Note: There's currently no implementation of the dependency manager, so it's partly broken. Nothing will happen yet.