Indexed Scripts/Templates : Remove support for preference, realtime and refresh

These parameters don't make sense anymore for indexed scripts as we always force the preference to _local and
always refresh after a Put to the indexed scripts index.

Closes #7567