Replace removed Streams.copyToByteArray()

Closes #29.
Depend on elasticsearch-parent

To simplify plugins maintenance and provide more value in the future, we are starting to build an `elasticsearch-parent` project.
This commit is the first step for this plugin to depend on this new `pom` maven project.