Stop raising defunct processes

Try to fix #53 .

- [ ] Add API to access docker like docker/pool/builder/lib/builder/git_handler.rb
- [ ] Add API server for docker to EM
- [ ] Change hook.rb to get values via these API then remove `