Xapian bridge/25

Implements a method for storing unique prefixes per databases

[endlessm/xapian-bridge#25]