Move most of the static functions into c2.c itself, and only keep the public functions in c2.h
* Remove NO_C2 option * Split configuration related functions into their own file * Drop support for libconfig < 1.4 * Fix dependencies in Makefile