Use Ruby's Process.daemon instead of rolling our own

Unfortunately, Process.daemon doesn't apear to work at all on Ruby 1.9.2, only on 1.9.3 and up.