Check if browser supports MediaQueryList/matchMedia

See discussion on #270