Saving configuration

Saving and loading of sequence/interpolant parameters, for easier repeat of analyses and sharing of configuration so that others can check repeatability.

Adds also the first unit tests, for saving and loading.