refs #828 Move optimizePK() to OplogCollection, using toSubclass() to
get the correct type in oplog.cpp