Fixing inconsistency between spec and Media Query CSSOM
methods appendMedium and deleteMedium.

Check the test for details, as it explain the relation
between the spec and the expected result.


The changes are mostly to corner cases, but it makes our
implementation more in line with Gecko and Presto, though
both has a few obvious inconsistencies with the spec.,

Review URL:

git-svn-id: svn:// bbb929c8-8fbe-4397-9dbb-9b2b20218538
11 files changed