Remove Ember specific cleanup.

As this is only used by Ember (not other consumers of `ember-dev`) let's move
this into Ember itself.