Add fitting option to plotting

Add fitting options to the Plot settings.
Various fitting functions can be selected.
Each dataset will be fitted.

Todo:
- [ ] Nice display of the resulting function (perhaps in the div#results, so replacing the data preview table if it is there...), scientific notation.
- [ ] Perhaps make the fit always a line plot (no step and no points)