Generalize WatcherMemory : move watcher-specific methods into
Watcher class
Add tests for perl v5.18 on travis-ci