Implemented 'join_on' for all relation types. closes #238