#508 Replace control.sh with PHP class

Inlcuded class into GS jobs
Implemented needed changes to GS API
Added fallback for function addApp()
Added fallback in case the serverid is not properly set at gsswitch
Added additional checks in class, if data could be properly fetched
Activated autodelete for generated scripts