Fixed bug in CLI test script
Fixed bug with Tikz backend

* The path to embedded bitmaps will now be encoded with a relative path
  relative to the output file, not the path from the current working
  directory
* The TikzExporter give this as a string argument to the TikzPainter