The eclipsing system of epsilon Aurigae and its possible relevance to the formation of a planetary system