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

Conflicts:
	src/core/Common.js
merge tumult:old_ie_fixes + tweaks