Reworked handling of media queries and tests.

I changed how the tests were evaluated against the media queries to clearly show passing test counts rather than including skipped tests in the counts.  Also, I removed the dynamic inclusion of scripts in favor of including the scripts upfront.  The browsers were handling the dynamic insertion poorly which made it far more difficult to debug tests when necessary.