Three years ago, Myanmar's transition to democracy was cut short by a military coup, but now the junta faces a reckoning from a rebellion threatening its rule across the country.