Merge pull request #8 from ldorau/common-fix-cstyle-errors

common: fix cstyle errors
very basic log example based on pmemobj