[HatohlArmPluginGate] Open pipes to detect the exit of Hatohol Server.
[HatoholArmPluginInterface] Remove an unnecessary line break.
[HatoholArmPluginInterface] Catch exception in the destruction.

onError() may throw an exception. However, if it happens in the
destructor of HatoholArmPluginInterface, it makes the remaing steps
omit. This sometimes causes serious problem.
[HatoholArmPluginTestPairArg] Add a mechanism to pass the paramters to the HapClass's constructors.
[HatoholArmPluginTestPair] Fix typos.

Paramters ->
Parameters
[HatoholArmPluginTestPairArg] Add an option to disable auto-start of the plugin.
[HatoholArmPluginTestPair] Skip to wait for the initiated callback to avoid the block.
[testHapProcessStandardPair] Add a new test: test_hapPipe().
[testHapProcessStandard] Test the passive mode in test_hapPipe().
[testHapProcessStandardPair] Add a new test: test_hapPipeCatchErrorAndExit().
[Server] add check another Hatohol server process running function
[Server] add check Another Hatohol server process running
[Server] remove trailing space
Merge pull request #659 from cosmo0920/check-another-server-process

[Server] implement check another server process running
Merge pull request #658 from project-hatohol/prevent-duplicated-same-arm-2

Prevent duplicated same arm 2
[server] main: Do not overwrite PID file.

Yes, we have checked if we have PID file, but we should do this
without a hole.  Use "x" mode to check the pid file atomically.
Note that "x" is not in POSIX.  We might want to use open(2) &
fdopen(3).

Signed-off-by: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
[server] main: Do not check pid file twice.

It is enough to check in daemonize().

Signed-off-by: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>
[server] main: Remove PID file if daemon() failed.

Signed-off-by: YOSHIFUJI Hideaki <hideaki.yoshifuji@miraclelinux.com>