Improved the DBAL check dependency

The check only accesses the method of the ConnectionRegistry interface, so it does not need to depend on the bigger ManagerRegistry interface.

I also renamed the argument to be more meaningful (I haven't removed the property as it would be a BC break for child classes).
I also made the connection name default to ``null`` (which means using the default connection), which makes it easier to use.