package: allow any debug v2
index: use better TypeScript array syntax
index: add support for backwards Selections
index: add missing require() calls
index: use "node-contains"

Fixes two TODO comments.
Release 2.1.1