Burkina Faso's embattled President Blaise Compaore announced on Friday that he was stepping down following violent protests demanding an end to his 27-year rule.