KAA-177: Implement basic logger for C SDK.

Reviewers - Andrey Panasenko and Taras Lemkin.
If the length of a log message is greater than @link KAA_MAX_LOG_MESSAGE_LENGTH @endlink,