Move option-listing, setting, validation code out of confparse.c
The code in confparse.c that handles individual options should move to src/lib so that other modules can use it. It should probably sit somewhere beneath src/log in the library graph, so that we can use it to configure everything.