Adding doctrine-dbal to composer.json and making it work

This PR fixes doctrine-dbal bin file that was not working as expected and adds it to composer.json.
The changes I've made on ```doctrine-dbal.php``` makes it work just like doctrine ORM cli app.