Draft: Persist 2d settings
Closes id13/id13#78
Closes #96
This ended up being much more complicated than i had hoped. Redux-persist is used to mirror sessions for remote viewing of client applications, so this couldnt easily be reused or extended to store the current ui settings in the browser session. I had to resort to a new mixin.
Right now this stores the settings of the twod viewer and currently selected sample over a browser refresh. Data is lost when browser tab is closed. Could be easily extended to store other parameters in the browser
Edited by Valentin Valls