Fix style sheet parsing

This is for #9875 .

When minimizing style sheets for parsing, limit string removal to content property.

Added unit tests to CSSUtils and Quick View.

It strikes me as odd that this code is getting called in a HAML file.