Fix #4593 Manual SELECT doesn't change active table

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Add unit test for PMA_Menu::setTable().

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Fix unit test.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Fix unit test.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Fix #4593 Refresh navigation tree on manual select into SQL tab.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Fix unit test.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
Merge pull request #1416 from Tithugues/b4593_qa43

Fix #4593 Manual SELECT doesn't change active table