added test for wrapping a single text node
added doc comment for variable type recognition
Methods append, prepend, before, after now do not clone the added element if it is not needed (only when it is added to multiple elements or when it belongs to another document). The Crawler object of the function argument is updated with the added elements. This mimics jQuery behaviour.