Rafael Benitez is named as Newcastle's new manager on a three-year contract, following the sacking of Steve McClaren.