Changed the internal flags for the task state. Now there is one single enum variable called "state"
which represents the task state. "active" and "executing" have been eliminated.
Merge branch 'master' of github.com:glipari/rtlib2.0
Minimal formatting changes