Fix issue #165 by using the error-list.xml file in the repo
Remove bogus debugging message
Refactored a bit so that it can be called usefully from a JUnit test
Attempt to get some useful JUnit tests. Several are broken, but in particular, the test suite can now be run using JUnit