refactor the PMA_getListForSortDatabase
Merge pull request #643 from xmujay/refactor_database

refactor server_databases: add function PMA_getListForSortDatabase