feat(state): Add state to a process definition

- Now it is possible to see the state of a process definition aggregate
  over all versions:
  - red: if a job exists with retries = 0
  - green: if there does not exist a job with retries = 0
- WIP: hierarchy check in case of call activities

related to CAM-706