(#18730) Add a Hiera node terminus

Allows using hiera as node terminus instead of doing something like
include hiera_array('puppet::classes') in site.pp.

It uses the keys puppet::classes, puppet::parameters &
puppet::environment.