Update Node.prototype.contains

- add support for various firefox, safari, and IE browsers
- add tests (warning, bad native implementations in old IE crash the
browser)
- resolve crashing native implementations in old IE
- resolve #177