Move building the DOM-tree from grab.ext.lxml to grab.document