Domains: reintroduce domain cleanup, and emit after disposal.

Previous commit took out too much, and moving the event emission
addresses joyent/node#5019.