Add logging (include debug logging) to gh-export.py.

Closes #28.