Fix wrap and wrapAll

Fix to make wrap and wrapAll work with a browser.lib element.
Merge branch 'master' of https://github.com/thomaslein/dom.element