Improved logging
Fixed android replacing old messages as duplicates when invalid external ID was received, closes #144
Server: Fixed sending of null as external id when message is not saved into DB