Indexed scripts/templates: Changing namespace for rest endpoints in rest api spec.

Moved the rest endpoints to use the global namespace
The commands are :
get/put/delete_searchtemplate/script