Add basic tmux session handling for dev.

dev() will now attach to an existing tmux session, if it exists, or
create a new one and attach to it, if it doesn't.