Virsh attach detach interface

This is v3 of virsh attach|detach interface test.

Changes to v2:
1.Add bridge test for interface.
2.Fix built-in variable 'type' to 'checked_type'.