Fixed usage of package connection resolver, and added auto-resolution of connection details from a package/src/config/database.php or config.php file.