split original fit function up into several small ones (basically preparing the shapes and fitting, presenting results and plotting them); this offers the advantage that the functions communicate via a RooWorkspace which can be provided externally, therefore allowing to use the FitCapsule program (same strategy as with the limit macro in '11 - if it crashes we detect it and so on)