Add regular expressions for renderer class names to scan_vtable.

This doesn't work for the simple 'renderer' on OSX for some reason,
possibly related to the pure virtual methods in the vtable.
Copy code for extracting argument and return value size into scan_vtable.
Properly mark zero-argument vmethods and handle more cases for retsize.