Dynamic scripting for Elasticsearch 1.2.X

Elasticsearch 1.3.X will have this on by default again with a new scripting
language.

Change-Id: I72a28eb8667a1bcdf2c7bf01d8e6fcd19c1e1e42