mesa/main: replace use of simple_list with util/list
Because really, do we want simple_list?
I'm learning how to use list.h (which, coming from not a C background, invasive lists are weird). I think I've done this correctly, and I've run a few basic tests which worked,.