shell, NM model: Remove unused functions.

Namely, refresh_all_devices and refresh_object_properties.