Enabled verbose logging from CuraEngine.
Switched output pipe from stdout to stderr. CuraEngine statistics are now correctly recorded in logfile.