HPCC-10068 Implement syntax for JOIN(,SMART)

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>