Query tab result popup menu moved out from glade
Add support of multiple selection in results and display logic of menu accordingly
on_query_popup stuff temporarily moved to QueryTabResultPopup