Fixed travis build

- Number of shards needs to be 1 otherwise aggregations can behave unexpectedly for small numbers of records. (http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/relevance-is-broken.html)
- Dynamic scripting needs to be enabled