Set dbname into Doctrine connection payload.
Upgrade doctrine dependency.
Merge branch '4.0'