ed.py: revise r, r_cmd using do_cmd
bin/piety_paths define /Users/jon/Piety as /Users/jon/Piety, use in piety and piety_writers
move tests for ed.py from Piety/samples/ into new Piety/test/ed/