Update Relationship.php

Separated the initialization of options['joins'] and add some public methods that will be used by Table when constructing joins