Add python_shell flag to cmdmod functions.

The cmdmod functions use shell=True by default. To allow for safer calls
add python_shell=False to the call and pass in the arguments as a
sequence

sudo salt 'dasalt' cmd.run 'ls -lh /'

sudo salt 'dasalt' cmd.run '["ls", "-lh", "/"]' python_shell=False
Added a Python formatter to the serialize state
Add unit test for virt._gen_vol_xml()
Whitespace.
Refactor virt._gen_vol_xml() to use jinja templating
Use assertEqual, less to type
assertEqual gives relevant information on fail
Remove redundant code block

The same code block is present a few lines above. Merge slip?
change 'rvm install' calls not to try sudo if 'runas' is set to non-root user
Log to user home directory if user is in ACL and is unable to write to logs directory. Fixes #7706.
Make unit tests verify the disk entries in virt._gen_xml()
Refactor _gen_xml(), passes unit tests
Refactor interface (nic) part of _gen_xml()

Integrate the interfaces sections of the XML (from interface.jinja) into
the single libvirt domain XML (libvirt_domain.jinja) to provide a full
view without placeholders containing XML.
Merge pull request #7865 from UtahDave/shell_false

Add python_shell flag to cmdmod functions.
Merge pull request #7866 from whiteinge/serialize-to-python

Added a Python formatter to the file.serialize state
Merge pull request #7874 from skrobul/rvm_no_sudo

Stop calling sudo for RVM installs when running as non-root user.
Merge pull request #7875 from s0undt3ch/develop

Log to user home directory if user is in ACL
Add unit test for tcp/telnet console
Refactor serial/console part of _gen_xml()

Integrate the serial and console sections of the XML (from
serial_port_*.jinja) into the single libvirt domain
XML (libvirt_domain.jinja) to provide a full view without placeholders
containing XML.
Fix mixed tabs with spaces.