Add futureLocalTx related code and tests

Adds a `futureLocalTx` method do the DB singleton so that we can do stuff like this

```scala
```