HPCC-9799 Working

Added errorHandler and reportError such that syntax errors appear in log files

Signed-off-by: jamienoss <james.noss@lexisnexis.com>