Autolinker IE8 Fix

The Array.prototype.indexOf method does not exist in Internet Explorer 8. A workaround Util method fixes this by leveraging the native method if possible and if not, falls back to a for loop.