Added index segments API call

Change-Id: I41e8880519e681214aa587ddc041d96af703e8fd

See http://www.elasticsearch.org/guide/reference/api/admin-indices-segments/ for more information.