[WIP] Adding storage

I hope this is now the right way to do this.

I added the samplesetstorage (which should work) and on the way fixed a few glitches I encountered.
it also uses netcdf4 variable-length variables instead of my own solution. This way storing a list of samples is even easier and probably faster.