[main] Check the connection with the DB server at the start up.

If the connection fails, Hatohol server exits with error code:
EXIT_FAILURE before the deamonize. This behaivor helps users
notice the failure of the boot, because the error message is shown
in the console and the exit status is not 0.
[DBHatohol] Enable to update any combination of DB connection paramters.
[ConfigManager] Support command line options for the DB connection.

The following options are added.

 -n, --db-name
 -u, --db-user
 -w, --db-password
[testMain] Use a test DB paramters.

Previously the default DB paramters is used. However, the DB is not configured
with the paramter in TravisCI. In the test, we should use the DB paramters
other than the default not to make running Hatohol server interfere.
[testMain] Align an indent.
Merge pull request #598 from project-hatohol/check-db-connection-before-daemonize

[main] Check the connection with the DB server at the start up.