Bug 839271: Address review comments.
Merge pull request #774 from Mossop/bug839271

Bug 839271: Use the inner window ID to cache workers so we get a new one if the outer window doesn't change. r=erikvold
Merge pull request #775 from Mossop/bug839321

Fix Bug 839321: If a context-menu module's items are all hidden then it may hide the items from other add-ons r=@erikvold
Merge pull request #776 from Mossop/bug839318

Fix Bug 839318: context-menu should overflow based on the number of visible menu items r=@erikvold
Bug 839814: Returning undefined from a context listener should hide the menu item.
Merge pull request #765 from ochameau/bug/833783

Fix Bug 833783: Fix leaks in tabs and windows when closing a top-level chrome window. r=@erikvold
Bug 833783: followup, fix exception when calling destroy multiple times.
Merge pull request #779 from Mossop/bug839814

Fix Bug 839814: Returning undefined from a context listener should hide the menu item. r=@erikvold
Merge pull request #781 from ochameau/destroy-followup@833783

Bug 833783: followup, fix exception when calling destroy multiple times. r=@erikvold
Bug 836930:
- Added strong reference to `document-shown` and remove it during the unload
- Added unit test for the `document-shown` scenarios with `forceGC`
bug 839872: context-menu does not emit click event onCommand
bug 839872: adding test comments
Merge pull request #782 from erikvold/839872

Fix Bug 839872: context-menu does not emit click event onCommand r=@Mossop
Merge pull request #761 from ZER0/selection-gc/836930

Fix Bug 836930 - selection module may have early gc issues for system/event listeners r=@erikvold
Merge branch 'master' of git://github.com/mozilla/addon-sdk into test-804935

Conflicts:
	test/test-page-mod.js
Merge pull request #708 from erikvold/test-804935

Fix Bug 826424 Adding a test for worker.tab dnw when require(tab) was not used r=@erikvold
Bug 790659 - JS Error ReferenceError: addon is not defined

- Added check on `test-trusted-document.html` before using `addon` object
Merge pull request #750 from wbamberg/808074

Fix for bug 808074: update credits page
Merge pull request #783 from ZER0/addon/790659

Fix Bug 790659 - JS Error ReferenceError: addon is not defined r=@erikvold
Revert "Merge pull request #750 from wbamberg/808074"

This reverts commit 78a6e6a3d8902867daaafddf3d0b7257093646fb, reversing
changes made to bfa162bc8410f8349b55993328fe32568015d370.