As Turkey comes to terms with the worst terrorist outrage in its history, the dealings of Tayyip Erdoğan’s government will come under scrutiny