Use uname command to detect Darwin platform
Merge pull request #43 from Chilledheart/fix-a-typo

Fix a typo in keepalive2-proc.h
Skip deprecated g_type_init() for GLib 2.36
Merge pull request #44 from Chilledheart/deprecated_g_type_init

Skip deprecated g_type_init() for GLib 2.36
Merge pull request #41 from Chilledheart/detect_darwin_correctly

Use uname command to detect Darwin platform
Resolve pidfile resource leaks

This patch resolves resource leaks caused by not closing the file streams upon
an write error.
Add travis-ci script