Minor refactor: put the positive case first and use branching instead of returning early.
Change DomHelper.prototype.loadScript to return the script it created.
Change modules to use loadScript instead of a createScriptSrc and insertInto combination.
Remove DomHelper.prototype.createScriptSrc as it is no longer used.
Use DomHelper.prototype.createElement internally instead of using document.createElement.
Add optional timeout to loadScript so it times out correctly if the script does not load. Currently defaults to two seconds.
Handle loadScript timeout correctly in the modules that are loading scripts.
Add spec to ensure a slow loading script is handled correctly.
Change loadScript callback to receive an error object if a timeout occurs and change the default timeout to 5 seconds. Set the timeout for the typekit module to 2 seconds.
Merge branch 'master' into bs-fix-inactive
Remove supportForStyle test. All supported browsers support style.cssText and the feature detection breaks XHTML pages.
Use the attributes argument to createElement instead of manually setting it.
Do not fire timeout if the script has already loaded.
Add DomHelper loadStylesheet method and use it where applicable.
Do not set onload/onerror handler to null after handling the callback.
Use DomHelper.prototype.insertInto instead of appending to head manually in loadStylesheet method. The reason for doing this is so that existing code doesn't behave slightly different from previous behaviour in the case of a badly formed HTML page.
Move tests assets into spec/fixtures directory.
Merge pull request #143 from typekit/bs-fix-inactive

Fix inactive when scripts do not load
Merge branch 'master' into bs-stylesheet-timeout

Conflicts:
	spec/core/domhelper_spec.js
	src/core/domhelper.js
Merge pull request #147 from typekit/bs-stylesheet-timeout

Add DomHelper loadStylesheet method and use it where applicable.