KLIPS and confread changes

This commit contains the work done in November on configuration file formats, on getting test cases working, on adding some in-tree unit testing and early December on KLIPS working on 3.1x kernels.
This includes patches from Simon.