Fixed error handling
Updated queries error handling
Added set typing method
Merge /home/vvaltman/telegram-cli/tgl
Fixed dependences
Merge branch 'master' into type-warnings

* master:
  Fixed dependences
  Added set typing method
  Updated queries error handling
  Fixed error handling

Conflicts:
	queries.c
Safe ssize_t for file read
Merge branch 'type-warnings' into develop

* type-warnings:
  Safe ssize_t for file read
  Fixed dependences
  Added set typing method
  Updated queries error handling
  Fixed error handling