Adds to_dict() to URLRecord, Response, URLInfo.
Implements --python-script for basic Python scripting hooks.