Refactored FluentDOM\Query::wrapAll(), etract private subfunctions