Moves the `set_statement_timeout` and `reset_statement_timeout` function to postgrest.py. This cleans up test_io.py so it only contains tests. Also makes these functions reusable in other other tests like test_cli.py. Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>