Making salt/netapi/rest_cherrypy/app python3 compatible
Reorganizing import and removing list
Merge pull request #18027 from nmadhok/netapi/rest_cherrypy-python3-app

Making salt/netapi/rest_cherrypy/app python3 compatible