refactor server_status_queries.php: 1. move functions to lib file
fix the code style of server_status_queries.php
Merge branch 'master' of https://github.com/phpmyadmin/phpmyadmin into serverview_refactor
Merge pull request #549 from xmujay/serverview_refactor

refactor server_status_queries.php