Add documentation about transaction modes (#155)
1. **Pass `mode: :immediate` to `Repo.transaction/2`:** Use this approach to set
the transaction mode for individual transactions.
2. **Define custom transaction functions:** Create wrappers, such as
`Repo.immediate_transaction/2` or `Repo.deferred_transaction/2`, to easily
apply different modes where needed.
3. **Set a global default:** Configure `:default_transaction_mode` to apply a
preferred mode for all transactions.
authored by