UNITY: Call g_type_init only with GLib < 2.36

With GLib >= 2.36 g_type_init() is deprecated and only throws an ugly
warning
Merge pull request #519 from tobiatesan/sensible_unity

UNITY: Call g_type_init only with GLib < 2.36