tpm2_nvlist: add attribute nice-name resolution
tpm2_nvlist: add attribute nice-name resolution

Use the newley introduced routine XXX to convert the attribute
values to strings. This will make it easier for humans to
decipher and underdstand what is going on.

Old Output:
1 NV indexes defined.

  0. NV Index: 0x1500016
  {
	Hash algorithm(nameAlg):11
 	The Index attributes(attributes):0xa000a
 	The size of the data area(dataSize):32
 	Authorization Policy for R/W/D:
  }

New Output:
1 NV indexes defined.

  0. NV Index: 0x1500016
  {
	Hash algorithm(nameAlg):11
 	attributes: ownerwrite|policywrite|ownerread|policyread(0xa000a)
 	The size of the data area(dataSize):32
 	Authorization Policy for R/W/D:
  }

Signed-off-by: William Roberts <60148e894dabf0b83bde1d460768794cd453c455@intel.com>

01org/tpm2.0-tools,01org/tpm2.0-tools,martinezjavier/tpm2-tools,martinezjavier/tpm2-tools,martinezjavier/tpm2-tools,01org/tpm2.0-tools,martinezjavier/tpm2-tools