Improve session handling: Avoid need to commit() before doing a query
Since Engine API holds different session context (Sync Agent & Web App) it's required to do a commit before doing a query. Improve session handling to avoid this.
For example: https://gitlab.servus.at/aura/engine-api/-/blob/master/src/models.py#L81