Cheap, filling, easy to make and packed with flavour… is it any wonder that the cassoulet rules the kitchen, asks Nigel Slater