more UTs for PMA_server_privileges
remove some global variables which is unneeded.
Merge pull request #718 from xmujay/0927_UT_server_privileges

more UTs for PMA_server_privileges