xapian-bridge C port

endlessm/eos-sdk#2463
Needs `.PHONY: generate-dbs` if this doesn't correspond to a real file. Alternatively, you could make the target be a file belonging to the testdb, such as `test/testdb/iamchert`.