Indexed scripts/templates: Add docs for indexed script and templates.

These are the docs for the indexed script and templates. 
These describe both new APIs and enhancements and additions to others.
Add the request template:

    POST /_scripts/{lang}/{id}

before giving the example