Require elasticsearch package in plugin states

I experienced a weird situation where the plugins were being installed before elasticsearch. This should address that.