Added MW.Window.documentWrite(), wrapper for document.write method and
MW.Window.onDomReady(), a wrapper to browser independently register a
handler for the on DOM ready event.