[PATCH v2 21/40] datatypes: convert virNetwork to GObject