Add table formatter to esxcli command

Including some misc test related changes here too.
Return err if != nil?