bin/edd: revised style using console.Command
piety/console.py: add Command class
piety.py, pysht.py, ed.md, edd.md: tweaks, style