Doctrine 2 - ORM

[GH-643] DDC-2390: Remove Query dependency in SqlWalker and Parser