Fixes for PHP 5.6
Possibile bug of g_function_info_get_flags (?)

It returns 0 if the function is returned by g_object_info_get_method
of an GIObjectInfo.
Implemented integer return values