Making salt.states.module python3 compatible
Merge pull request #17637 from nmadhok/states-python3-module

Making salt.states.module python3 compatible