Cleanup unused states

Not all the states are actively being used in any of
the taskflow code, so instead of keeping them around
lets just clean them up.

Fixes: bug 1232168

Change-Id: Ife92febe70692638bca4551766769a903273513f
A few adjustments to the progress code

Remove an unneeded variable in the tasks class as
well as add a test for capturing and checking on
the progress that is emitted and adjust how the task
action should use a single function for doing state
changes (and another one for saving/resetting). Also
add in progress boundary checking (between 0 and 1).

Change-Id: Ic8cf56e3b25a493129f370b7b52e3cb2238da844
Avoid setting object variables

Instead of setting a object state variable, which makes
a graph_action object now have state we can instead just
have a new event boolean that will be set to true when
a suspension is detected. This value will then be used to
alter the status returned from the parallel graph action.

Also fixes a lack of returned status when there are no
items to actually run (aka the deps counter dictionary
is empty).

Change-Id: Ifa3ba7293613ba1e70e77d29504ea214f0b4c9e9
Merge "Cleanup unused states"
Merge "A few adjustments to the progress code"
Merge "Avoid setting object variables"