Added ability to append, prepend, before or after a NodeLIst instead
of just a a Node.

Fixed loads of bugs. Should be pretty functional now.