Bug 868322 - Fixes a shutdown memory leak in ActivitiesService.jsm. r=fabrice

--HG--
extra : rebase_source : 157986b61b4f56e292a6f9b5f47ccb815e4ff22d