First subQuery refactoring
include new test file
Only use subQueryAttributes if limit is set
Only use subQueryAttributes if subQuery is indicated (required + multi)
Make previous tests run atleast
dont wanna have to rewrite query generator tests
should be possible use limit and a where on a hasMany with additional includes
should be possible use limit and a where on a hasMany with a through model with additional includes
Fix existing include tests
Fix tests
Minor cleanup
Comments
Comments on comments on comments
loop should wait for companies too
Merge pull request #1205 from mickhansen/include-subquery-refactor

Include subquery refactor