Fix daemon mode in multiple programs under OSX

  - ccnet-server
  - ccnet
Merge pull request #57 from Chilledheart/daemonize_under_osx

Fix daemon mode in multiple programs under OSX
Add CMake Build System