Don't return underlying query builder
Merge pull request #3733 from anlutro-pull-requests/fix/elq-nested-where-return

Don't return underlying query builder
Working on global scope system with traits.
Fix variable typo.
Working out a few kinks.
Simplify method. Fix bug.
Merging and fixing conflicts.
One line.
Merge branch '4.1'
Use array_map.
Merge branch '4.1'