Set ES DocId to prevent duplication of documents
implements fixes suggested in PR

- fixes spacing in ElasticIOTest
- removes an unused method from ElasticIO
- changes scope of method from protected to private
Add metric type info to ES index

Also removes superfluous method from ElasticIO.