Chris Wray has been formally installed as the new FBI director. He replaces James Comey, who was fired in May by President Donald Trump after fewer than four years on the job.