Retrieve the home directory from /etc/passwd.

[before]

Assuming that the home directory should be /home/foo.

[problem]

Jenkins user's home directory is: /var/lib/jenkins.

[after]

Retrieve the home directory from /etc/passwd.

This commit refs #192.
Merge branch 'id/192' into dev
Make sure that the mysqld is running, before executing mysql client.

This commit fixes #195.
Merge branch 'id/195' into dev