Merge pull request #58 from pjf/missed_provides

Added missing provides to the schema.
Added relationship resolution logic.

Part of #32.

Looks like it's mostly working. Will have to remove some diagnostics
from here, and have discovered bugs in the installer which need fixing.
Fix ModuleInstaller to make moar directories.

Because apparently we can't trust zipfiles to contain them
reliably.