Making salt.modules.xapi python3 compatible
Merge pull request #17540 from nmadhok/modules-python3-xapi

Making salt.modules.xapi python3 compatible