SSP-1904 Added protection for not deleting files when failure is for PartialUploadGuard
NOJIRA Code cleanup dulicate -> duplicate
SSP-1904 added PartialUploadGuardException and throw it.
NOJIRA spelling changes dulicate ->duplicate
NOJIRA Tests for batch initialization, upload guard and batch finalization