Octave: switch to gnuplot backend in tests

Allows invisibility.
[Fix #370] added ensureLineEndings workaround

Signed-off-by: oleg komarov <o.komarov11@imperial.ac.uk>
Merge remote-tracking branch 'okomarov/epsFix'