Added onProfilePicture event

Added onProfilePicture event so the user can decide for himself how he
wants to handle the received profile picture.
Also added PollMessages() to SendMessageNode() and sendStatusUpdate() to
ensure delivery.