add metadata service impl based on gometa; add unit test for metadata
service; refactor replication settings/spec to expose their members