Link to cargo

Links a device to cargo with bidirectional references. Device must not already be linked to a session or different cargo.