Media queries and improvements for support back to IE6 (that's been tested)

Branched from pull request on issue #18. Since I've been behind, I couldn't automatically merge and figured I'd take this time to address both pull requests and as many of the open issues as I can. Also, added some test cases for the new functionality and to confirm the data-norem attr flag works as intended.