Improved character escaping for strings with interpreter 'none'
Improved character escaping for strings with interpreter 'none'

* Fixed a problem with braces and backslashes, see comments in the
  code for details.
* Encoded '~' which would otherwise be interpreted as a non-breaking
  space.
* Added removal of unnecessary '{}' for cleaner output.

matlab2tikz/matlab2tikz,matlab2tikz/matlab2tikz,PeterPablo/matlab2tikz,LJeub/matlab2tikz,nidrosianDeath/matlab2tikz,miscco/matlab2tikz,okomarov/matlab2tikz,okomarov/matlab2tikz,egeerardyn/matlab2tikz,RPeschke/matlab2tikz,egeerardyn/matlab2tikz