Facebook will allow France to 'embed' inside the company to examine how it combats online hate speech.