Remove setNextScore in SearchScript

Due to a change in elasticsearch 1.4.0, we need to apply a similar patch here.

See https://github.com/elasticsearch/elasticsearch/pull/6864
See https://github.com/elasticsearch/elasticsearch/pull/7819

Closes #23.
(cherry picked from commit 5e5c373)