Add table formatter to esxcli command

Including some misc test related changes here too.