Fix compatibility issues with listen 2.7.12

- Fixes https://github.com/guard/listen/issues/275
- reworked how different versions of Listen are handled
Feel free to add a mocking library if you'd like.