This allows interested parties to receive notifications on media
changes. This is demonstrated by the file manager and media image
information menus now updating immediately if the system ejects a
mounted image, or a mounted image is changed by a script or something.
ui/filemngr.cpp, ui/info.cpp: Update file manager and media image
information menus immediately on media image changes.
ui/menu.cpp: Return index of added item from item_append.
bus/generic/slot.cpp: Use out-of-line virtual destructors to avoid
vtable link errors in certain single-driver builds.
bus/nubus: Tidy up some #include statements.