Add tty and stdin_open flags. Change 'cmd' syntax to 'command

Can now specify:

command: "echo hello"
stdin_open: True
tty: True

on an instance. These are the same names used in the docker-py create container API

(Defaults are None, False, False)