Method addBug() now uses Utils.createBug(). Check for ClassContext ==
null deleted as it has become obsolete due to mocking.