GenericHistory: Fixed unregistering from optimizer in destructor.
Added FileSurveyor Plugin and (kind of) fixed another wrapper bug where MPI close would not link to its parent (still needs testing).