Added functionality to pull sub-devices out of a primary device and flatten them at the same level as the main device. This is to enable getting data from the expansion module (which is listed as a sub-device of the main Vue unit). The expansion module should now show up as another device when calling `get_devices` with the same gid as the main unit.
Note that I do not have the expansion module so I cannot directly test this change myself with it.