On Firefox, with hidden iframes, matchMedia returns null, thus trying to
access .matches crashes things. Added extra check to make sure we stay
up and running.
Also, added .project to gitignore
Merge pull request #886 from mikkotikkanen/testMediaQuery

Modernizr crashes on Firefox with hidden iframe