logstash: fix first puppet run and configuration updates
- ensure java is installed before trying to install logstash as the postinstall script is failing if not
- add missing dependencies and notification between the logstash package, the configuration and the service
- Restart the service in case of notification change
- code format
Related to T2787