Fix flag handling
Only add implicit "_obj" argument to methods

Function methods are typically missing an explicit _obj (or "self")
argument in the introspection data. Whether or not such an argument is
present is given by the GI_FUNCTION_IS_METHOD flag. We now properly
support this flag.
Test DirectionOut argument handling