Add unittests for GIRepository

Add basic unittests for the existing classes and methods exposed for
the GIRepository module (gi._gi).

https://bugzilla.gnome.org/show_bug.cgi?id=709008