Avoid triggering plugin list initialization on startup (Bugzilla 881575)
Merge pull request #3366 from vdjeric/master

Avoid triggering plugin list initialization on startup (Bugzilla 881575)
Remove 'beforeunload' when the document unloads, to enabled caching