Add flags method to get / set current task flags

 - Previous versions of this gem exposed the flags.  This change
   introduces backwards compatibility with previous versions of the gem
@Iristyle extra debug line