Compatibility changes on some utility program

Change the database in DBConnectionHelper
Changes the query for QueryHelper to work on the new database
Changes the test case TestQueryHelper2 to work with the improved
QueryHelper
Change the sample how to use QueryHelper in QueryHelperDriver