new jQuery compatible methods, and related tests

* append
* prepend
* before
* after
* insert_before
* insert_after
* detach
* add_class
* remove_class
* has_class