put --directory parameter back to ktest error reporting(see #518 for issue, #295 breaks this)
fix windows backslash escaping
Merge pull request #521 from osa1/ktest-issues

fix for #518