Use `_LW` where appropriate in db/sqla/api

Moved some of the sqlalchemy driver code to use the `i18n._*`
translation functions.

Change-Id: Ib78dbf435982289eae45014876c4da6258631c05
Merge "Use `_LW` where appropriate in db/sqla/api"