xapian-bridge C port

endlessm/eos-sdk#2463
`node` can be `NULL` if `stopwords_json` is `""` (I ran into this while testing.)