Make tests backwards compatible with glib < 2.30

g_test_fail() introduced in 2.30; debian squeeze runs 2.24

Define a always-fail g_assert pragma if g_test_fail is not available.
Merge pull request #29 from anchor/glib_version_sadness

Make tests backwards compatible with glib < 2.30

This will make for release 2.1.2