fix FS#967 - SVG import: SVG transformations can lead to wrong arc directions

make transformation API using QTransform available for scripts