Migrate the Salt states and modules to Python 3
Summary: Ref T1343.
Test Plan:
- Run unit tests for modules
 - Run modified modules functions
 - Run in test mode modified states
 
Reviewers: dereckson
Reviewed By: dereckson
Maniphest Tasks: T1343
Differential Revision: https://devcentral.nasqueron.org/D1355