Bug 812417: Listen for domwindowclosed instead of unload when closing a toplevel window.
Merge pull request #948 from ochameau/bug812417-2

Bug 812417: Listen for domwindowclosed instead of unload when closing a toplevel window. r=@mossop
Fire ready event on subsequent page loads
Add object utilities
Refactoring Rules for page-mod
Fix context of remove call on rules
Correctly remove listeners from manager
Add data:* test to match pattern
Update rules, tests so page-mod tests pass
Add tests for rules, removed forEachMatch fn
Add toString methods for match-pattern and rules
Use Rules/MatchPattern in Symbiont
Pull out content script utilities from panel
Rename content/util to content/utils for consistency
Add contract
Page worker refactor progress
Revert hidden frame changes