Bug 866333: Added extra check to avoid wrong events property returned in cases, when, for example event type coincides with Object property, such as nonstandard Object.prototype.watch, for instance
(cherry picked from commit 09f7197a85475fd9fdbaf64ffeec553e86fe2da8)
Bug 866333: adding test for event names like "watch"
added URI test to stop opening invalid URIs
added tests for chrome and resource URIs
added test for ftp
closed all the opened windows
Improved windows closing
Update cfx-tool.md

The documentation was not clear on how the autoupdate links are created. The name of the files are also needed in the URLs to specify for the update requests.
Also the cfx xpi -update-link commands need to be on the same line (at least on Windows).
Bug 855771: enable test-tab-utils.js, remove tab/window count assumption
Added documentation for sdk/self, property uri

I saw a reference to self's uri property in the documentation
for sdk/passwords, but no explanation for it in the documentation.
I had to infer the meaning from the source code.
Expose web-socket API.
Bug 866532: expose prePath property on URL instances and making URL properties writable

Conflicts:
	lib/sdk/url.js
	test/test-url.js
Implement socket server.
Merge branch 'bug/socket' into bug/websocket@820953
Update tests to use socket server.
Bug 878131: isPrivate() now always returns true if the new global pb service is enabled
Merge pull request #1017 from Gozala/bug/websocket@820953

Bug 820953 - Expose web-socket API. r=@Mossop
Revert "Merge pull request #1017 from Gozala/bug/websocket@820953"

This reverts commit 3f003b71587b0ab399394f73c161c50249ca0994, reversing
changes made to ec3ee82d616a74d78376ea5b2f726fd45b66db4e.
Merge pull request #1042 from erikvold/878131

Bug 878131: isPrivate() now always returns true if the new global pb service is enabled r=@Gozala
Bug 792102 - Document support for cross-domain content scripts; r=@ochameau