Revert "Add glog to the packages to install for travis."

This reverts commit ca5cbc36f549b48ff3eb9021540cf37c2c851863.

After all, we probably aren't going to use glog.
Fix a bug in daemonize().

Our std stream closing was broken.
Add new logging code.
Convert existing code to use logger.h.
Write pid file even in foreground mode.
Adds client/server prototype.