CXX-321 rewrite/remove OpTime class

Should be compatible with places that used the old class. If it is better to rip out all the parts in the code that depended on OpTime, I can rework it.
Yep, errno is used in this file, and was transitively included somehow from the old optime.h. Getting rid of unused in optime.h includes broke compilation.