upgrade es to 1.3.2
replace sed command with plain groovy
Merge pull request #1095 from crate/m/es_upgrade_1.3.2

upgrade es to 1.3.2
optimize execution plan if group by is on clustered by column
optimize group by primary keys queries
use StandardCharsets.UTF-8 instead of Charset.forName(..
don't recalc duration on duration() calls

The RestSqlActionTests where flaky because duration() was
called multiple times and changed in-between.

Would be even better to set the duration in the ctor but
then we would have to break backward compatibility because
we would have to change the serialization from writeVLong to
writeLong
wip
wip
fixup! wip