Consolidate has_metadata and has_file_datastream into contains. Fixes #508
Use reflections for storing information about child resources
Merge pull request #515 from projecthydra/added_contains

Consolidate has_metadata and has_file_datastream into contains. Fixes #508