Transactional versions of some more API calls
Somehow I've missed these calls while working on briar-desktop!55 (merged). Unfortunately I couldn't use the convenient db.transactionWithResult
function for addPendingContact
as it might throw two different exceptions apart from DbException
.