v1: compatibility with Guard 2 and improvements

Hi,

This pull-request ensures compatibility with Guard >= 2. It includes the change from #19 as well.

I've bumped the version to 1.0.0 but let me know if you don't want me to change this!

Thanks!