Merge pull request #530 from scnakandala/gsoc_2013_2

Refactoring SQL executor
removed include sql.php from tbl_select.php