KAA-177: Implement basic logger for C SDK.

Reviewers - Andrey Panasenko and Taras Lemkin.
<p>To switch off logging, use @link KAA_LOG_OFF @endlink .</p>