Adds Array.prototype.indexOf polyfill

Array.prototype.indexOf is not supported in IE8-. This commit adds a polyfill for Array.prototype.indexOf so that classList.contains doesn't fail in IE.
Merge pull request #25 from anselmbradford/master

Adds Array.prototype.indexOf polyfill