Remove metaForType()/metadataFor() ambiguousness

- Deprecated store.metaForType()
- Added store.setMetadataFor() to set metadata for a specific type
- Added tests
Merge pull request #2548 from wecc/metadata-ambiguousness

Remove metaForType()/metadataFor() ambiguousness