Add deprecation documentation (from xapian-core).