Use mysql(i)_get_server_info() for fetching MySQL version

One less query in the ACP.
Add queries debug link to ACP footer