fix #504 add support for TypeExist and added convenience methods for IndexExists() and TypeExists()
Merge pull request #841 from elasticsearch/feature/type-exists

fix #504 add support for TypeExist