xapian-bridge C port

endlessm/eos-sdk#2463
It's good practice to always include `config.h` in C files. I now added the include to every file so that we're consistent (I missed a couple previously).