rename matchesSelector

matchesSelector is renamed in matches
documentation is improved
rename matchesSelector into matches
add unit tests

add tests for debounce and thorttle