Merge pull request #63 from csmith/master

Add defensive checks to Styliser.
Add some unit tests for ErrorReporter.