Update td.join.R

Changed variable names to fix a bug when returning the td.data.frame.  Input variables are otable and odatabase and were used as otable in one place and oTable in another.  Changed all to oTable and oDatabase.
Merge pull request #1 from tmbrye/patch-1

Fix td.join.R issue