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.