Add support for distributed index joins

This is enabled via a config option and is default off.