Let Doctrine 1 read it's configuration values from parameters.yml instead of config.php

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | ---
| Fixed tickets | ---
| Refs tickets  | ---
| License       | MIT
| Doc PR        | ---

I'm not an expert on databases, Doctrine, charsets, etc, so I'm not absolutely sure this is right.