Bangladesh's former prime minister Sheikh Hasina fled the country following weeks of violent, student-led protests.