Make `salt.modules.xapi` python 2.6 compliant.

PEP-8 and formatting fixes.