**INCOMPATIBLE CHANGE** Fix stages and images isolation problem for git-latest-patch and stages-signature
**INCOMPATIBLE CHANGE** Fix stages and images isolation problem for git-latest-patch and stages-signature

 - gitLatestPatch stage was not isolated between different branches when the same changes
   has been made in two different commits: added commits ancestry check when selecting
   suitable stage from cache for gitLatestPatch. The signature of gitLatestPatch stage
   has not been changed.

 - Stages-signature was not isolated between different branches when the same
   changes has been maed in two different commits. **IMPORTANT** stages-signature
   calculation algorithm has been changed, stages-signature will change for all projects
   that use stages-signature tagging strategy (content-based).

flant/dapp,flant/dapp,flant/dapp