TEIID-2539 adding the allow-join property to disable joining with a key
restriction. and removing needless arg checks.