Make fake_network tolerant of objects

This makes fake_network not break if passed an instance object or
list of instance objects.

Related to blueprint unified-object-model

Change-Id: Ic484e850966d514c758baedb46571b5296e89580
Merge "Make fake_network tolerant of objects"