python: dump and load

The simple tests for cpp are done. Several changes have been made to
the Python source code. These are mainly due to the changes done in
Python 3. The unit tests for Python seem to work correctly now. This
is a good stopping point to write some documentation about the
excentury file now.