KAA-177: Implement basic logger for C SDK.
KAA-177: Make fixes according to pull request comments.
KAA-177: Refactor log buffer processing procedure to be more obvious.
Merge pull request #19 from kaaproject/feature/KAA-177

KAA-177: Implement basic logger for C SDK.