The XXL Survey. I. Scientific motivations - XMM-Newton observing plan - Follow-up observations and simulation programme