Change API to allow construction

try ( DBBroker broker = db.authenticate("user", "passwd") )
{
    // operations on database
    
    DBBroker activeBroker = db.getActiveBroker();
    
    //broker == activeBroker
}
Merge branch 'develop' of https://github.com/shabanovd/exist into
develop