Fix bug when switching analysis type
Fix logging bugs
Formatting
SignalEvent persistent class
Save Fit analysis to DB
Calculate df/F0 correctly for events which are on top of other events