cubicweb #5655140 PostgresFTITC changes global state [open]

setting db-statement-timeout adds a hook to lgdb's SQL_CONNECT_HOOKS global dict, which is never removed, thus affecting any other later test class using postgresql.

priorityminor
typebug
done in<not specified>
load0.500
load left0.500
closed by<not specified>