Add capability of adding commands on connect

This PR adds a couple of things:

* A textbox in the session edit view for commands to send on connection, separated by newlines
* Those commands are sent during the `connect` event handler in `client.js`.

Some styling tweaks may be needed, but the functionality is there.