Use own Common.indexOf method for IE 6-8 compatibility

IE 6-8 has no indexOf method on Arrays.  Instead this introduces the method on Common and will use a native implementation if it exists and a javascript one if not.

(note: running matter-js on older versions of IE will still require a custom renderer, as canvas/webgl is not supported)