return specific error code on exit... refs #208
Merge branch 'develop' of https://github.com/PhantomPhreak/counterpartyd into develop