Make media queries work with resize and page zoom.
Short circuit media queries test if stylist is already dirty.
auto merge of #3886 : glennw/servo/mq, r=SimonSapin