These are needed so that the later codes line up numerically.
This moves away from the deprecated notmuch_database_add_message API and instead uses the notmuch_database_index_file API. This means instroducing a class to manage the index options and bumping the library version requirement to 5.1.
This is based on a previous discussion on the list where this was more or less seen as the least-bad option.