Use BulkProcessor feature

From https://github.com/elasticsearch/elasticsearch/issues/1441
We want to use BulkProcessor feature to handle bulk operations and close nicely bulk and remaining operations when removing/stopping the river.

Closes #39.