Reverted change to pass connection to static query creator in createQuery in Doctrine_Table