Add salt.utils.traverse_dict_and_list()

Add salt.utils.traverse_dict_and_list() and use it in modules.pillar.get() and modules.grains.get()