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"
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.
Update menuitems tutorial to not refer to the SDK 'packages' folder
Updated documentation for tab's pageshow and load events
Remove text claiming that panels don't work in private windows
Bug 882867: fixing tab:testOpenInNewWindowOnOpen test and making various other tab tests more stable
Merge pull request #1040 from wbamberg/884591

Remove text claiming that panels don't work in private windows
bug 884076 Add simple tree implementation
Merge pull request #1037 from jsantell/util-tree

fix bug 884076 Add simple tree implementation, r=@gozala
Bug 878131: isPrivate() now always returns true if the new global pb service is enabled
Bug #884055 Implement e10s event bussing
Merge pull request #1036 from jsantell/e10s-bus

Fix Bug 884055 Implement e10s event bussing, r=@gozala
Merge pull request #1039 from wbamberg/870572

Fix for Bug 870572 - Document `pageshow` and `load` events; r=@mossop
Merge pull request #1041 from erikvold/882867

Bug 882867: fixing tab:testOpenInNewWindowOnOpen test r=@Mossop
Revert "Merge pull request #1041 from erikvold/882867"

This reverts commit b9d5ce9152997dd40964279daf4fbe615eb8cfd7, reversing
changes made to 1c8d49c4a4e1bff06adab1afc30f19a7eaf4a298.