Fixing the matching logic in assert_styles.
Fixing tests which where discovered to be broken.
Merge pull request #397 from mithro/firefox-fixes

Fixing the logic in assert_styles to be stricter in the compare, fixing tests which this breaks.