Revert "Revert "bug 1023326 - use frame scripts for tab content events""

Reverts mozilla/addon-sdk#1531