Add support for custom package names

Hi,

This allows having custom package name(s) (different than the hardcoded $package = [ 'elasticsearch' ] in the params).

Cheers,
Benjamin