pyterm: Add distribute script

Installs pyterm's dependencies and pyterm.py to $prefix/bin/pyterm.py
pyterm: fix NameError in SerCmd.do_save()