add stop fitting functionality

DREAM, DE, Quasi Newton and Amoeba can be stopped in the middle of
fitting through the GUI.