Check for addEventListener

IE8 undersands querySelectorAll but not addEventListener.

This block of javascript is needed for browsers the understand media
queries. As IE8 doesn't support media quieries it doesn't need to run
this code so check for addEventListner also.
Merge pull request #57 from alphagov/ie8-js

Check for addEventListener