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
Merge pull request #183 from Financial-Times/update-contains

Update Node.prototype.contains