Fixing bug in schema generation code
Fixing bug in schema generation code

Fixing a bug in schema generation code which gets exposed if a tag is
specified after __value.
Also, cli_name should not have any newline character in it. If it does, we
pick first line only

Change-Id: I577f767a0a2941bb993cbae1e84a6ff58d3ff93f
Closes-Bug: #1638469

Juniper/contrail-sandesh,Juniper/contrail-sandesh,Juniper/contrail-sandesh,Juniper/contrail-sandesh