expect code to test setup

Starts agent, deletes entities if exists, restarts agent.  I tried using procs to get rid of copy/paste, but they seem to behave strangely with send :-/
Merge pull request #326 from racker/test-setup

Start of expect code to test setup