Added consts for left and right outer/inner joins

Currently you have to pass string and manually specify the join type if it's not included in constants.