Tweak ElasticSearch settings

1. Enable dynamic scripting (fixes https://github.com/travis-ci/travis-ci/issues/2701)
2. Link /usr/share/elasticsearch/bin/elasticsearch to /usr/local/bin/elasticsearch,
  so that it appears on $PATH (fixes https://github.com/travis-ci/travis-ci/issues/2822)