Added Relationship class
Switched FROM to associative array
Switched DomainQuery::clauses property to stdClass
Added DomainQueryHelper class
Merge branch 'refactoring'