Added $tries to Database::transaction
Merge remote-tracking branch 'origin/master'