Escape jqPlot graph strings

- escape chartTitle + regroup chartTitle generation
- escape ticks
-
escape pie labels
- escape saveImgText
- remove unused code