Settings: Fix the memory leak in Settings

Fixed the memory leak in both InstalledAppDetails

Change-Id: I3520b3c1fe1bf98e3baec2ee989eb215164a7cf2
Signed-off-by: Zhijun Peng <pengzhj@marvell.com>
Fix memory leak in ManageApplication

ApplicationsAdapter new a Session member and make it has a reference to
it self. If we don't release it explicitly, the cross reference will
cause memory leak.

Change-Id: Iecce35ae1d56d98cee6347e84d3a3ff57f3b15a5
wifi: update authentication status

wifi settings doesn't update AP status properly if authentication fails.

Change-Id: I397a32e24d13e5885c10ef7a117336c141eabe18
Bluetooth: Avoid window leak when screen orientation changes

Enable screen orientation change support in Bluetooth Settings app
during any Bluetooth Setting Activity. Otherwise, window leak may
observe while screen orientation changes.

Change-Id: I8868f4c6e96277fd17484f810de6a700198a5287