better exception handling for unexpected exceptions
Revert "Make listify respect the global setting for undefined variables."

This 'mostly' reverts commit 2769098fe7fcb51302cc8fabe9a1ff3f51aeec6f.

Conflicts:
	lib/ansible/utils/__init__.py
	test/units/TestUtils.py
Merge pull request #9715 from bcoca/listify_revert_errorhandling

Listify revert errorhandling
fixed integration test as with_items always returns a list, even if
empty
Merge pull request #9717 from bcoca/fix_integration_test_with_conditionals

fixed integration test as with_items
Make test for skipping agree with the way current output formats a skip
Add a check that tilde expansion with copy works
Have known_hosts function use the url parameter instead of getting a specific attribute out of the module dict.

This makes the function useful in more places