Disable dynamic scripting when not  ELASTICSEARCH_CLUSTERED

Disable dynamic scripting as it is insecure and we don't use it
See: http://bouk.co/blog/elasticsearch-rce/
CVE: CVE-2014-3120

(cherry picked from commit aa798593d652ac784fa94b6d4bc369b046531edd)