Bug 1083129 - [System][Music] send pause command to music app when headsets are disconnected

WIP
I just found the `headphoneschange` event will still fire if the headphones is plugged before system boot, so we can remove this checking since all the `headphoneschange` events will be handled by `handleHeadphonesChange`.