ExtensionLoader unit tests - log failing console errors

In ExtensionLoader tests that expect 0 console errors, capture any errors that do occur and include their text in the failure message for diagnostic use.