Added support for get repository API and search_shards API

http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html#_repositories