Update Query to prevent data mix

`SELECT sometable.* FROM sometable` is now the base `Entity.query(...)`
Merge pull request #38 from ChristopheCVB/patch-6

Update Query.generate() to prevent data mix