Micheal Martin has received the backing of the Irish parliament to become the country's next premier.