Indexed Scripts/Templates: cleanup

This commit cleans up some code around the indexed script/templates feature.
Remove dead code in ScriptService.
Remove setXScript methods for UpdateRequestBuilder and use setScript(script,type) instead
Merge branch 'cleanup_scripts' of github.com:elasticsearch/elasticsearch into cleanup_scripts