Cancellation and some refactoring

- Refactored DIBS MD5 and updated affected code
- Added cancellation mail and DIBS trigger upon receiving cancel from DocDel.
- Refactored SendIt