change str to basestring for new cherrypy (3.2)
change str to basestring in web
Merge pull request #420 from yuyiguo/slc6-20141015

change str to basestring for new cherrypy (3.2)