refactor PMA_getHtmlForSqlQueryForm and fix code style
Merge pull request #618 from xmujay/refactor_server_sql

refactor PMA_sqlQueryForm and fix code style