The Gospels begin with a patriarchal genealogy of Christ, but insists on including certain women. Jonathan Douglas investigates why.