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
Merge branch 'kitkat-remix' of github.com:AOSPAL/android_packages_apps_Settings into kitkat-remix