Document `contents` and add tests

`$.fn.contents` was added about 2 months ago in #234, obsoleting #164. Document the method ([taken from api.jquery.com](http://api.jquery.com/contents/)) to prevent future confusion, and add a test to assert correct handling of comment nodes.