Fix #541 call to undefined method Database::getAllConnectionInfo()

A fix for #541 to try and get drush working again in D8