Add a db-statement-timeout option for postgresql sources
Use that new option to set the statement_timeout option when creating
connections, except for maintenance operations (shell and upgrade).
Closes #2547026
sync_schema_props_perms(('State', 'state_of', 'Workflow'), commit=False)
sync_schema_props_perms(('State', 'name', 'String'))