Fixed unit test for changes to error reporting.
Added some more coverage for build failure reporting.
GRADLE-2737 - Don't wrap listener failures in a ListenerNotificationException unless there are multiple failure or the failure is a checked exception.
Don't need special case for ListenerNotificationException in build failure analysis.