[Upg] Enable dumping of context
[Upg] Enable error handler
[Upg] PHPDoc
[Upg] Split PDO configuration into methods