Update autoinstaller script
This MR incorporates the changes of !670 (closed) and supersedes !670 (closed).
Move code into functions to get a clean main routine. Add checking of prerequisites before compilation. Add support for FairSoft versions after jun19 since these FairSoft versions require a different build scheme.
Add CBM specific install instructions for OpenSuse and Fedora for for packages which are not covered by the FairSoft documentation. This is sqlite3 which is only needed by CBM and tbb and gsl which showed problems on newer systems recently.