The Republic of Ireland have named the former Iceland boss as their new head coach.