Add abstract_clock, manual_clock, chrono_io
Use abstract_clock and improved tests, in ResourceManager