avoid AttributeError for xapian < 1.3

`TermGenerator.set_stemming_strategy` isn't available before 1.3.1.
Merge pull request #13 from nixon/xapian-1.2

avoid AttributeError for xapian < 1.3