Update blueprints to use module references instead of module ids

And remove the concept of `prototypeName` and `moduleId` from the base `Blueprint` and move that into `ModuleBlueprint`. This is also where the loading of `.meta` files has moved.