Remove unused classes and slightly change the API of DAG dynamic scheduler to make it resilient to changes
1. Cache manager fix: it no longer ignores cached files. Now cached files are transferred with duration of zero second. 2. Fixed bug when tastask's files were removed during subsequent simulation runs. 3. Refactoring to make classes safer to use: make them final/abstract whenever possible and use immutable collections for fields.