Use uname command to detect Darwin platform
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.
Silence the annoying "subdir-objects disabled" warning
Add travis-ci script