Changed API for adding and removing observers. ManagedObject now extends EventDispatcher so it can dispatch flash events as well.