Don't use listify_ function, when all we want to do is template variables

This was causing a bug in the env module, due to the fact that we now
pass variables for the module through the templating engine combined
with the fact that we split-up the hostvars and setup variables. As a
result, if a variable in the env lookup had the same name as the variable
in Ansible, it would try and template itself over and over again until
the recursion limit would be hit, at which time an empty string was
returned.

Fixes #7396
now module searches for update-alternatives vs hardcoding it
Correct issue of handlers running on all hosts incorrectly

Also adds an integration test to catch this bug in the future.

Fixes #7559
Support checking for su user to atomic_move

Fixes #7553
Correctly examine path for relative links in file module

Fixes #7515
Fixes #7537
Check groupnames for None as well as an empty string in add_host

Fixes #7585
dont mutate inventory vars
Merge and intersect lists without using sets.

Using sets for these operations is dangerous because sets cannot contain
certain object types (such as lists) and their iteration order is
undefined.

Fixes #7596
Ensure there are no duplicates in the merged/intersected lists
Fix typo in CHANGE MASTER TO syntax
Fix error when using os.getlogin() without a tty
fixing problem where ansible would error out because Amazon was saying the group didnt exist yet (needed to wait a few more seconds for amazon to propagate correctly)
Removing cruft leftover from the deprecation of include+with_items

Also cleaning up integration tests that had checks for the empty item
attribute in certain results.

Fixes #7535
Fix order of merging variables for the combined cache

Fixes #7598
Fix error passing play vars to an included playbook with empty vars

Fixes #7658
Fix linking issue to directories in file module

The os.path.isdir() returns True for symlinks that point to directories,
so we also need to check to make sure it's not a symlink too.

Fixes #7657
Fix issue with symlink path detection

Fixes #7627
Fixes #7664
Fixing mysql master replication boolean

Fixes #7528
fix for svr4pkg module failure reporting, issue #7645
Cleaning up svr4pkg commit fix for #7645