Update table.php

Current code only support left and inner join. I added support for right and outer join. Although MySQL doesn't support OUTER JOIN, there is function for it in Joomla! API JDatabaseQuery/outerJoin so I added that also.
Merge pull request #76 from bnisevic/joins_patch

Update table.php