HPCC-9556 First stage in refactoring

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9556 Change error into a severity

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9556 Fix regression from first commit

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9556 Simplify interface to always use process() not reportXX

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9556 Ensure same error receiver is used consistently

* Clean up some pointers to references
* Pass through the primary error receiver to more places

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9556 Simplify abort processing

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
HPCC-9556 Ensure all parser errors go through a single function

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>