shell: Allow activation of network bonds.

An inactive bond doesn't have a Device object that we could use to
activate it.  Instead use its first Connection object.
test: Adapt networking tests to previous changes.