Metadata - Phase 2 (Incomplete)

Continued work on phase 2, finishing off the modifications to Korlib to
match new model.
Currently only base functionality will be implemented. Extensions will
be implemented later.