Put slave health checker in package healthchecker.

Also put mocked messenger in package messenger.
Also added a mocked health checker for testing.
Added healch check test.
Merge pull request #16 from yifan-gu/pure

slave health check