General patching in the djmoe scraper for postgres support.
Fix IRC scraper's issue with filenames with quotes.
Arrrrgh.
Querysperimenting
Blech. Reworking ALL THE CODEZ. All cursors should now be explicitly checked-out via `with conn.cursor as cur:`.
Row-counting stuff is mostly in-place again. I need to figure out how to get the count-consolidation stuff working again, but the new system design should be fairly robust in terms of blocking.