Initial moving of things over to using std::chrono.

Kills off deprecated ftime calls as well.