Modernizr global object check and mq feature detection

This pull request builds upon the 'test for Modernizr.mq' pull request 4 and does an additional check for the Modernizr global object. This resolves issues for implementations that do not use the Modernizr library.