Add iop introspection. WARNING: we require perl now

The API isn't guaranteed to be stable yet so please don't use it for
real. Testing is encouraged though.