Use external script to pretty-print sql logs

For instructions, run:
python bin/utils/db_log.py --setup-help
Get rid of python 2.6 compat deps