Fix mount.active command on FreeBSD.

Uses `mount -p` on FreeBSD as neither of the `/proc/self` files
currently used to determine active mounts exist on FreeBSD systems.
Ensure mount options come before special and node.

Fixes calls to mount where an fstype is specified.
Ensure mount options in remount come before special + node.

Fixes calls to mount where an fstype is specified.
Nasty loop for wheezy XenAPI location
useless else
Merge contextlib fix with Wheezy fix
added "--ask n" to eix-sync (see #5148)
added functions for FEATURES variable
Resolve bug where states/cmd.py _run_check() function was mutating cmd_kwargs (using pop function) which caused subsequent cmd's to runas/user = None (default user) instead of specified user.

unless and onlyif break runas user cmd.[run, script, call]

We will supply a patch to resolve
	modified:   cmd.py
Cleaned up _run_checks()'s docstring and return dictionaries comments

	modified:   cmd.py
Cleaner approach to find out XenAPI on Debian systems
Added fall back to "webrsync" in case of failure of "rsync" Portage synchronization. Added support for GPG signed Portage snapshot ("webrsync-gpg" feature).
"emerge-delta-webrsync" is also supported and preferred.
This code require #5198
Removed salt.modules.cmdmod import, use os.popen() instead as we don't have access to __salt__ here
fix new pylint W1401 (Anomalous backslash in string) instances
pkg state: fix pylint W0604

************* Module salt.states.pkg
W0604: 48,4: Using the global statement at the module level
Merge pull request #5239 from UtahDave/develop

Don't use a bare exception
Add line number to Jinja errors, Fix #4966

Thanks to @Mrten to figuring this one out.  =)
Clean up the error message
Merge pull request #5240 from basepi/jinjaerrors4966

Add line number to Jinja errors, Fix #4966
Added the 'ip_interfaces' grain

This grain returns a dict of the interfaces and their ip address which
is handy when you want to build a config file with a specfic known
interface. The current 'ipv4' grain is useless for this.