Adding hash_key_equals helper function

Adding hash_key_equals helper function based on https://github.com/puphpet/puppet-puphpet/blob/master/lib/puppet/parser/functions/hash_key_equals.rb