salt.utils.network._interfaces_ifconfig: SunOS fix

In SunOS 11.1 with IPv6 enabled interfaces occur twice in 'ifconfig -a'
output with the same name: for ipv4 and then for ipv6 addr family. Thus,
ipv6 data overwrites data collected from ipv4 interfaces.

Every instance has it's own 'UP' status and we assume that ipv4
status determines global interface status.

Thus commit tries to merge data from conflicting instances.

Also, regexp was tuned for SunOS's ifconfig.
If pulling a specific image tag check images locally with that tag
otherwise changes will be recorded even though there may not be any
Lint fixes: unused import, tabs
Remove quotes from s3fs ETag entries

This causes md5 comparisons to fail and makes the master think it needs
to re-download every file.
fixes #18632 (os.path.expanduser does not expand quoted paths)
Add JID to scheduled jobs names as well
If the asg does not exist in the region provided, don't return True.

Refs #18566
Also add some logic and debug logs to launch_configuration_exists

Fixes #18566
Improve/fix locale.gen_locale() on Debian and Gentoo.

- Validate the locale first instead of trying to generate it blindly
- Gentoo (just as Debian already did) requires the locale to be listed
  in /etc/locale.gen before being able to generate it
- 'locale-gen' needs the '--generate' param on Gentoo
- Quote the locale supplied to 'locale-gen' as it might contain a
  whitespace
Add retcode and success to function not found

Fix #18512
Improve locale._normalize_locale() by dropping the charmap.
make a functional equivalent patch to fix #18632
Merge branch '2014.7' of https://github.com/saltstack/salt into 2014.7
Fixing a bug when mounting using the UUID but the device is mounted using the actual device.  Results in an attempt to umount and remount.
Added state_aggregate placeholders to the master/minion conf files
Added docs for the state-level aggregate keyword

Also added clarification on the two ways to invoke the aggregation
function.
Always run download_packages() after executing buildpackage SLS

By restricting this function call to when the script is successful, we
end up losing the log file from buildpackage.py when it fails, making it next to
impossible to troubleshoot. This commit makes jenkins retrieve at least
the log file, no matter what happens.
Fixing a bug if a swap device is specified as one of the special symlinks, eg. the links under /dev/disk/by-uuid
Fix ValueError message in RAET Transport
Revert uncomment  retry transmit
Merge pull request #18592 from nazgul5/utils.network

salt.utils.network._interfaces_ifconfig: SunOS fix