Fix configuration via the console helper provided by Doctrine DBAL

The helper provided by Doctrine DBAL is named `connection`, not `db`.
Build fixes
Added gzip compression to pharpackage, replaced exec mv with built-in move task
Fixed .gitignore
Merge pull request #153 from pezia/packaging-fix

Packaging fix
Adding php 5.5 to Travis, moved the composer install command to 'install' instead of 'before_script' in travis config.
Merge pull request #155 from kander/master

Adding php 5.5 to Travis