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.
Merge pull request #9213 from adobe/pflynn/test-console-errors

ExtensionLoader unit tests - log failing console errors