Ensure that dsid and type are provided to has_metadata. Fixes #309
Merge pull request #312 from projecthydra/required_parameters

Ensure that dsid and type are provided to has_metadata. Fixes #309