Replaced plat with env.

Replaces plat.tcl with env.tcl, and cleaned it up considerably.

* Remove code now found in os(n).
* Added "env reset" in preference to the "-force" flags on the various
calls.
* Cleaned up and improved the logic for finding helper applications.
* Removed plat.tcl from the code base.