xapian-bridge C port

endlessm/eos-sdk#2463
This test doesn't actually assert anything, though I see the original test didn't either. Is there something sensible we could assert?