Tables aliases

this allows for aliasing tables and for using dot notation for joins

```ruby
joins("patientMrn.patient") 
```

now instead of 

```ruby
join("patientMrn").join("patient",:from=>"patientMrn")
```