Added methods PMA_cleanupRelations, PMA_countQueryResults, PMA_executeTheQuery
removed unused parameters and code
comment corrected
statement transferred to the else condition
invalid $unlim_num_rows error corrected
Merge pull request #472 from scnakandala/gsoc_2013

Refactoring SQL executor