Make the plugin Guard 2.0 compliant

See https://github.com/guard/guard/wiki/Upgrading-to-Guard-2.0#changes-in-guardguard

Closes #37