Store foreign keys in payload as well as indexes.
Merge branch 'develop' into feature/issue-430-foreign-key-payload-data
Merge branch 'develop' into feature/issue-430-foreign-key-payload-data
Merge branch 'develop' into feature/issue-430-foreign-key-payload-data
Merge branch 'develop' into feature/issue-430-foreign-key-payload-data
Merge branch 'develop' into feature/issue-430-foreign-key-payload-data
Merge branch 'develop' into feature/issue-430-foreign-key-payload-data
Review-related cleanup.
Tests for handling old-style index-only foreign fields.
Merge branch 'feature/issue-430-foreign-key-payload-data' into develop