log.py: fixed logging verbosity, added color output
pratt.py: fixed __name__/__qualname__ behavior for symbol()
peg.py: added support for term replacement