Package check confirms both _control_.apl and _metadata_.

Added functions to collect metadata from all local packages.
Simple query of the metadata hive.
Ensure that keys are a list in collect_metadata.
First cut at extracting dependencies from metadata. Not quite right.