#508 Replace control.sh with PHP class

replaced old function usage with class usage at:
Lend server
statuscheck
planned restarts

Removed not function gsrestart