[ENTESB-1031] Improved patch functionality
- offline patching
- patch survival of data direction deletion
- purge of old artefacts when patching offline
Split TaskManager into TaskCoordinator and TaskHandler. Introduce WorkItemRepository. Add git/profile based WorkItemRepository implementation.