Implement ValueWeightPostingSource class bindings

endlessm/eos-sdk#2009
this could probably be replaced by a `xapian_posting_source_get_slot()` direct accessor, to avoid the boxing of a simple unsigned integer into a GValue and back.