[DDC-3042] SQL Alias collisions in DQL

Verifies [DDC-3042](http://www.doctrine-project.org/jira/browse/DDC-3042)

This PR changes naming strategies so that column aliases being generated are no more like `foo123`, but rather `foo_123`. This prevents nasty bugs such as column `foo1` and `foo12` colliding in the same query.