Added querySelectorAll, querySelector and textContent to Element.js based on the code from Bruno Assarisse.
Added getElementsByTagName, querySelectorAll and querySelector to call Element's prototype functions.
Added document.implementation in the case CocoonJS does not expose it. It seems that many developers use it to determine if XML parsing is supported.