Use xmlrpclib.escape for escaping in PangoMarkupRenderer
Replace shell script with python one
Some fixes for flake8
Use xml.sax.saxutils.escape in place of xmlrpclib.escape

The latter is not available in python 3
Merge remote-tracking branch 'zyx-i/persistent-awesome' into develop