Cache iterator callback argument amounts.

This reduces the overhead that comes with retrieving Method objects and then
retrieving the arity.
Added a simple benchmark of the VM.