Browser-like treatment of whitespace in text

The `text?`, `regex?`, `some-text?`, and `some-regex?` tests now replace all
one or more consecutive whitespace characters (i.e., ' ', '\t', '\n', etc.) in
the text of the page/element with a single space.  This feature allows the
tests to ignore line breaks and spacing issues in the source text.