add idevice_event_subscribe/unsubscribe functionality for detecting device add/remove events