fixed database parameter ez publish >= 2014.05
added backwards compatibility for database settings
fixed export + outsourced database connection determination
Merge pull request #2 from kuborgh/FEAT-doctrine-connection

fixed database parameter ez publish >= 2014.05