Assert functor task revert/execute are callable

Use the six module to assert that the provided
execute and revert functors are callable to avoid
late failures that would occur later when trying
to execute.

Change-Id: I599f2ad4071babcd3a3e363261f3c8cd0dee49b8
Merge "Assert functor task revert/execute are callable"