tests: Removed all cases of g_test_trap_fork() which has been deprecated.

Now we're using g_test_trap_subprocess() instead and that requires GLib 2.38.

Tracker now depends on GLib 2.38.
Merge branch 'deprecated-g-test-trap-fork'