Implement timing functionality on top of boost::chrono. Remove uses of boost::posix_time