Move existing repository tests into test_repository

Move flags and enum double registration tests into test_repository.py.
Remove duplicate ObjectInfo tests from test_gi.py.

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