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.
i don't understand this line: "by appending _id to the script argument as supplying the script id"