Remove task_action state checks

Move to using the states module and its
set of states we can ignore transitions to
accomplish the same effect that our previous
task_action lists were accomplishing.

Change-Id: I06c785c0c543634c033997cab22a1f5409f41f25
Merge "Remove task_action state checks"