Star driver Sébastien Ogier has been retained by M-Sport for 2018 and will act as teammate to Elfyn Evans.