make it possible to disable implicit join references.

Closes #9712.
Merge pull request #9733 from senny/9712_option_to_turn_references_deprecation_off

make it possible to disable implicit join references.