As title. Also includes refactoring Piwik_ExitWithMessage so no echo-ing or exit-ing is done by the function (function is renamed). Includes modification to Log.php so it will work even if config is empty. Finally, includes event that allows modification of error page contents.
Tests I did:
Nice, less technical debt and code that makes more sense now :+1:
BTW maybe the branch can be deleted now? nevermind I misread