log.py: clean-ups
dead.py: clean-ups
ast.py: fixed function arguments and Node.__getattr__
ast.py: less confusing error reportingh
dead.py: added cmd key to control type checking
interpreter.py: implemented basic type inference