(#15352) Documentation strings for hiera_hash and hiera_array

When running puppet doc, hiera_hash and hiera_array show as "undocumented." 

This commit provides documentation strings for hiera_hash and hiera_array, describing how to use these functions and explaining their optional arguments.