[Content] Add listeners and events support

Add support for subscribing to media content change events
via setChangeListeners and unsetChangeListeners methods.

Also, some debug macro tunings.
Merge pull request #339 from poussa/events-and-more

[Content] Add listeners and events support