After surviving an attempted coup, Turkish President Recep Tayyip Erdogan has avoided the fate his ally Mohammed Morsi suffered in Egypt. The big question now is how he handles his relationship with opposition groups, which backed him in his hour of need.