Remove dependency on expect package.

Instead, use ruby PTY and expect.

I'm not _totally_ sure about this one and I'm happy to debate its merits.

My goal here was to avoid having the extra delay of installing expect on CI systems/agents that don't already have it.