Fixed various issues reported by resharper. Added move constructors/move assignment operators to various classes. Exceptions cleanups. Removed unused code. Removed copy constructors/copy assignments from various noncopyable classes. (CH-318).
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 (!)