API change

This give a way for next patterns

try (DBBroker broker = db.authenticate("user", "passwd"))
{
    //operations on database
}

and 

try (Transaction tx = broker.beginTx())
{
    //operations on database
    tx.success();
}