fix(engine): prevent queries in DeploymentCache

- The DeploymentCache should not perform multiple queries for
ProcessDefinitionEntity in method findDeployedProcessDefinitionById.

- check the DbSqlSession cache first and if the ProcessDefinition has
already been fetched it should not be fetched again.

related to #CAM-1905
fix(engine): use cachedEntityState for concurrent executions

The cached entity state bitmask allows the process engine to
dramatically reduce the number of queries necessary for removing the
entities related to an execution (Tasks, Jobs, ...)

This commit
- enable support for cached entity state for concurrent executions as
well
- add test cases

related to #CAM-1906