This patch fixes some attributes of grant request for instantiate
and terminate of v2 API.
In the process of fixing bug #1949318 and adding UTs, some other
mistakes are found and fixed at the same time.
* fix number of STORAGE resource definitions of instantiate grant
request is not correct.
* fix extManagedVLs are included in VL resource definitions of
instantiate grant mistakenly.
* fix interpretation of vnfcCpInfo attributes is not correct when
making terminate grant request.
* fix an incorrect variable used to handle extManagedVirtualLinkInfo
when making terminate grant request. (fix bug #1949318)
Closes-Bug: #1949318
Change-Id: I61baaee8fec5bb2e1e954900dd2b9361ac594546