ASACORE-1161 Fix Static initialization and destruction order

             for static and global AllJoyn variables.

Ensure that all global objects are destructed at unload.

Change-Id: Ib3b4abf68abb3e8918ee5a554b46e22f05a08ca0
Signed-off-by: Sheshambika Venkateshwaran <sheshamb@qce.qualcomm.com>
Merge "ASACORE-1161 Fix Static initialization and destruction order" into RB14.12