modified module to support hiera hashes at global and host level

and added extra sections to tun.pp and template to support existing configs