Edited iTol.py [ci skip]

Moved gather_categories() to until.py and updated iTol to call it from
util. Also, updated iTol with flake8.