a small wrapper for the MutationObserver which takes selector filters and emits events for insertions and removals