Fix crud generator for symfony 2.3.x

This PR fixes the crud-command in Symfony 2.3.x and adds auto-completion for entities.