trying to robustify parsing of command-line arguments, and make things a bit more consistent across the different verbs. ended up almost completely rewriting tman.py and core.py. also added constants.py, which has a few useful things that all functions use, such as the rc-file and pretty-printing escape sequences.
switch initial hashbang to use /usr/bin/env python3