ed.py etc.: add classic ed e E f commands
also add some tests and revise others
also bring ed.md up to date