[DF-4311] Merged all DLC changes into one final branch
[DF-4476] Added first functor template implementation
[DF-4311] Merged ResourcePatcher tool
Downloader and unit test merged.
Merge branch 'development_dlc_final' of https://github.com/dava/dava.framework into development_dlc_final
[DF-4311] Making DLC run on latest Downloader sources
[DF-4399] Fixed deadlock and crash at unwanted status change notification. Unit Test uses DLC test.
[DF-4399] Unit test and framework adapted for MacOS.
[DF-4399] Unit test and framework adapted for MacOS.
Merge commit '8107be4b4f3a9738b7cc74e958f9dc3e65c1e62b' into development_dlc_final

Conflicts:
	Projects/iPhoneFramework/Framework.xcodeproj/project.pbxproj
Merge branch 'development_dlc_final' of https://github.com/dava/dava.framework into development_dlc_final
[DF-4550] Fixed framework and unit test build after development merge.
[DF-4577] Some new unit tests implemented and found unwanted DownloadManager behavior. Fixed.
[DF-4577] Implemented almost all unit tests. Corrected timeout handling and some small errors. Extended CURL error handling.
[DF-4577] Finished unit tests. Correct handling file write error for CURL. Correct timeout for download and get_size (get size is a part of full download and takes same timeout, so we need to use half value for each operation at full download). Fixed download interruption (seems was a merge mistake).
[DF-4577] DownloadTest added to android project.
[DF-4620] Fixed hang up on write error.
[DF-4623] Returning patching error, when there was error during file remove or file move.
[DF-4345] download content with hide application and show notification on status bar for Android platform
[DF-4650] Fixed crash at trying to create file for resumed download if there is no existing folder in file system (like descried in the task) or file cannot be created for other reason.