Fixed several cosmetic code issues. Improved detection of same/different disk detection. Switched shared_ptrs to use std implementation instead of boost one. Cleaned up includes in headers. (CH-259)
Rewritten statistics handling for sub tasks, tasks and task manager (this commit introduces some issues that needs to be further fixed). Only basic tests performed (!)