The reduce script should be called even if there is only one shard involved.

 Fixes #3
Upgrade to elasticsearch 0.20.4