[Doctrine] fixed Unable to get Type when Field is a Join column, and fixed using unresolvable field with DQL
Merge pull request #11 from sstok/doctrine-wherebuilder-join-fix

Doctrine] fixed Unable to get Type when Field is a Join column, and fixed using unresolvable field with DQL