A powerful 7.8 magnitude earthquake has hit large area in Turkey and Syria killing at least 300 people.