uri-tester: Use gio async API to parse the patterns file

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