fix Set 'treeNodeSelected' from context menu
Add DBAPI::freeResult()
Bugfix - need to send resultset to DBAPI::freeResult()
fixed the way active tab index was calculated

the previous method was not working as it should
Merge pull request #244 from Cipa/develop

fix Set 'treeNodeSelected' from context menu
fix Res Manager sort bug #243
Merge pull request #245 from Cipa/develop

fix Res Manager sort bug #243