This commit DRYs up the indices folder as well as fixing a few minor mishaps that were in the docs.
With this new structure supported APIs are ordered and grouped in the same way as they are in the Elasticsearch reference docs