WL#3494: QB bug fixing on Windows + QB library

Affects: GUI-Tools-3.0   —   Status: Complete   —   Priority: Medium

Fix all verified bugs reported for Query Browser on Windows and Query Browser
common library. Create test cases for all fixed bugs (TUT unit tests, DUnit
tests and Testmonkey tests).