Use the new Guard API

https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0#changes-in-guardguard

Makes the plugin work with Guard 2.9+