DevTools: [CodeMirror] handle new-lines in error popovers

Add support to new-line character handling in error and warning console
message texts which are shown in a popover in editor.

BUG=404380
R=vsevik

Review URL: https://codereview.chromium.org/478963002

git-svn-id: svn://svn.chromium.org/blink/trunk@180413 bbb929c8-8fbe-4397-9dbb-9b2b20218538
getElementsByClassName should include non styled Elements

Allow Elements who are not styled but have class set to be retrieved using getElementsByClassName.

Matches FF behavior.

https://bugs.webkit.org/show_bug.cgi?id=94718

Review URL: https://codereview.chromium.org/458663003

git-svn-id: svn://svn.chromium.org/blink/trunk@180414 bbb929c8-8fbe-4397-9dbb-9b2b20218538