Defined a method to make callbacks working

see https://github.com/guard/guard/wiki/Hooks-and-callbacks

before this modify, callback(:stop_begin) and callback(:stop_end) didn't work.

This is useful if you want to execute some code when guard is exiting.