Update the error management system to work better with PHPUnit tests.
Update the error management system to work better with PHPUnit tests.

nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus,nicholasryan/CorePlus