Adding charset to fix difference between framed and non-framed versions.

The character encoding of a framed document was not declared. The document may
appear different if viewed without the document framing it.
Fixing CSS feature detection and CSS properties.
Merge pull request #401 from mithro/other-firefox-fixes

Fixing a number of problems which where breaking tests under Firefox.