FLUID-5204: Fixes for test compatibility with IE8 (and IE10 for focus)

use $.inArray as portable version of array.indexOf - new utility in jqUnit-browser.js is jqUnit.simulateFocus() which performs browser detect for appropriate action on IE vs others. It would seem that this nonportability is not detectable.

Work on fixing use of XHTML doctype on IE10 still remains to be done.