The French government debuts Tchap, its messaging app with end-to-end encryption, and open sources the code; a security flaw has already been found and patched