Adding hiera support. #7713

The idea is use hiera do define the objects, in this way we can add a data abstraction layer as defined by puppetlabs as good practice.
https://dev.icinga.org/issues/7713