Indexed Scripts/Templates: cleanup

Remove setXScript methods from UpdateRequestBuilder in favour of
setScript(script, type) and fix tests to reflect this change.
Merge branch 'cleanup_scripts' of github.com:elasticsearch/elasticsearch into cleanup_scripts