ckpt, add heartbeat and finish_app_master
Merge branch 'develop' of https://github.com/jimmycao/tmp-res into develop
add bulk of changes in hamster-core side