Add optional timeout to queries and more
- Add optional timeout to queries (@valarauca)
- Add proper behavior for transactions when one starts a transaction on an already started transaction (@valarauca )
- Remove a few leaps of faith regarding DB connection existence (@valarauca)
- Rework some helpers to avoid situations where args were wrongly passed