Clear registered events on unattach

Bug: 62033
Change-Id: Ic23a182ac2a74864831796ce493a0c51baa4fe8b
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/273
(cherry picked from commit 8408c824201843d7583bab455553c2e92c9cc188)