Destroy Secure resources during system shut-down
Destroy Secure resources during system shut-down

Secure resources which were recently added were not being
destroyed during system shutdown. Added API calls to enable
proper de-allocation.

Change-Id: I1fcaf2218d8957138a87e1ffab14d07c78bebe5c
Signed-off-by: Sachin Agrawal <e527dde4abdf871552470c254efd4939572046d8@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/2955
Tested-by: jenkins-iotivity <09cb29e8a2b473a2c978382eec13ee06fa017bda@opendaylight.org>
Reviewed-by: Shilpa Sodani <ddbab2bceaf7e51b6bbf1cdd786ca1269e00d5bb@intel.com>
Reviewed-by: Dmitriy Zhuravlev <40606fc6192608b045628e9c5ff8b9f4a53a45cc@samsung.com>

iotivity/iotivity,santais/iotivity,rzr/iotivity,santais/iotivity_1.1.0,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,santais/iotivity,santais/iotivity_1.1,santais/iotivity_1.1,rzr/iotivity,santais/iotivity,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1,iotivity/iotivity,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,rzr/iotivity,rzr/iotivity,tienfuc/iotivity-democlient-snap,tienfuc/iotivity-democlient-snap,santais/iotivity_1.1.0,santais/iotivity_1.1.0,santais/iotivity_1.1,santais/iotivity_1.1,iotivity/iotivity,santais/iotivity_1.1,santais/iotivity_1.1.0,santais/iotivity_1.1,santais/iotivity,tienfuc/iotivity-democlient-snap,rzr/iotivity,santais/iotivity,tienfuc/iotivity-democlient-snap,iotivity/iotivity,santais/iotivity_1.1.0,santais/iotivity,iotivity/iotivity,tienfuc/iotivity-democlient-snap,iotivity/iotivity,santais/iotivity_1.1.0,santais/iotivity_1.1,santais/iotivity,rzr/iotivity,santais/iotivity_1.1.0,rzr/iotivity,iotivity/iotivity,iotivity/iotivity