refactor server_status_advisor.php: moving functions to server_status_ad...

...visor.lib.php