Revert "Media objects extend EventEmitter"

This reverts commit 631928207a3577b08aa0e7f34c836de3535ee355.
Cleaner version of 631928207. Sets prototypes as in https://github.com/onsip/SIP.js/issues/23#issuecomment-43747712