add get_config function to BaseDevice -- filters out non-state and non-config values specified for each device.
add general revert function to BaseDevice that rolls back the configuration of the device and all subdevices.