Bug 843300 - Don't let JavaAddonManager register for events multiple times. r=mfinkle