Add support to ArgBase for class that don't save any local values.

For classes that store any local values and instead return a real reference
when writing we need to give them the index to return.
Merge branch 'arg_base_improvements'