KAA-210: Changed Kaa lib initialization routine. Added error code
handling for events
Merge branch 'feature/KAA-199' of https://github.com/kaaproject/kaa.git into feature/KAA-199

Conflicts:
	client/client-multi/client-c/src/kaa_log.h
KAA-210: Add proper deinitialization on kaa_init() failure.
KAA-199: Update error handling in user management module. Fix unit tests