Merge branch 'master' into type-warnings

* master:
  Use custom app_id
  Changed app id
  Fixed user status update
  Fixed bug with update on msg_id
  Fixed bug in status. Updated FLAG_CREATED use
  Common error 420 (FLOOD_WAIT) handler
  Updated to layer 19. Fixed bug in code generator
  Function to find secret chat id by user id
  Send encrypted message error handler
  Sign in error handler

Conflicts:
	queries.c
	updates.c
Revert usage of size_t in debug alloc
Merge branch 'type-warnings' into develop

* type-warnings:
  Revert usage of size_t in debug alloc
  Use custom app_id
  Changed app id
  Fixed user status update
  Fixed bug with update on msg_id
  Fixed bug in status. Updated FLAG_CREATED use
  Common error 420 (FLOOD_WAIT) handler
  Updated to layer 19. Fixed bug in code generator