Fix event-outside delegate and an error when defining and using `tapoutside`

First, I'm sorry for the pull request mixing two different issues, it happens that I found that the outside delegate does not work at all and does not support filtering with a selector while fixing the tapoutside issue and to properly test it, I need the delegate method to work correctly...

Anyway, this PR does 2 things:
* fix event-outside delegate to work with and without a filter selector (fix the tests and add new tests)
* fix the "has no method 'isOutside'" when defining and using `tapoutsite` (with a regression test)