[server][testDBClientHatohol] Add a test that causes an exception due to an error of a SQLite3's statment.
[server][DBClientTest] Fix up the type of input parameters according to the coding convention.
[server][DBClientTest] Fix up the type of input parameters according to the coding convention.
[server][HostResourceQueryOption] Fix a bug that doesn't join the host table even when the hostgroups enumeration is in the condition.

Now 3 errors have happened by the patch due to the inappropriate
of the expected value. I will fix them in later commits.
[server][testHostResourceQueryOption] Fix an expected value that have been changed by the commit: 467e64bc.
[server][testHostResourceQueryOptionSubClasses] Fix an expected value that have been changed by the commit: 467e64bc.
[server][testHostResourceQueryOption] Clean up.
[server][DBClientTest] Use an efficient way.

Previously the for loop is repeated up to NumTestGoumaximum
In this patch, the maximum number of the loop is smaller than it.