Rename arguments for monkey_patch()

- thread -> threading
- psycopg -> psycopg2

These are the new module names for python3.