Internal: move index templates api back to indices category and make put template and create index implement IndicesRequest

Closes #7378