Bug 874890: Shut down Addon Manager in profile-before-change r=mossop