Implement match.inside and match.overlapping in #getItems(match).

Closes #275