Reset the invocation state of a task with its dependencies #55

I was hesitating with ReenableWithDependencies. My other guess was to create enum which would tell if depencencies should be reenabled with dependencies or not.