Bug 1098946 - Expose "activate" and "deactivate" for windows & browsers. r=erikvold

Conflicts:
	test/test-window-events.js
Merge pull request #1714 from erikvold/1098946

Bug 1098946 - Expose "activate" and "deactivate" for sdk/window/events r=erikvold