Turkey's economy has endured an attempted coup and a wave of terrorist attacks, but finally, for the first time in seven years, the country's economy has shrunk.