Moved the serialization routine of the simulation class into the private section.
Changed the save_serialize and load_serialize functions of the algorithms to use a common static function of the Simulation base class. This reduces code duplication.
Removed the unnecessary functionality for giving a random file name for the dump file and moving the dumpfile. If this is really necessary, it can be done in user code.