President Andry Rajoelina appears to have left the country after weeks of protests calling for him to resign.