Merge branch 'release/0.4.0' into develop
fix pidfile writing
updated tests to support new retrying architecture
update version
build gem
Merge branch 'release/0.4.1'