Using 'with connection.cursor() as curs'
Connectin information is now configurable

$ history.py --slave-host slave.lan --slave-port 5432 ...
$ clone.py --history-host history.lan --history-port 5432 ...
Correct name for requirements.txt