Update lint settings
-- whitespace
Update document.normalize to return arrays

Returning document fragment was destructive as nodes were removed from
parent elements, we didn't expect that.
After this change, only either null, single dom node or array is
returned. All dependencies need to deal with this accordingly.