refactor($rootScope): add warnings when emitting/broadcasting on a destroyed scope

When a scope is destroyed, all event listeners gets unregistered, and the connection to
the parent/child scopes are removed. Because of this, no one is noticed of the event.
$emit and $broadcast now logs a warning when trying to emit or broadcast an event on
a destroyed scope.

Closes #6768