Tweak failure detector interval/offset
Merge remote-tracking branch 'origin/master'

* origin/master:
  Name the pidfile on error
  chdir to data directory
  Write a pidfile when run in the background
  Remove sparsehash because it was unused