Add acceptance test for function regarray
Use VarRef for regarray
Add VarRefParseFromBundle

Parse the variable reference in the context of a bundle. This means that the VarRef
will inherit scope and namespace of the bundle if these are not specified explicitly
in the string.
Pass a scope to ExpandScalar, avoid call to ScopeGetCurrent
Pass scope to Epimenides function, avoid ScopeGetCurrent
Avoid calls to ScopeGetCurrent in generic_agent:CheckControlPromises
Avoid C++ keyword in FnCallEvaluate
Avoid call to ScopeGetCurrent in getindices, use caller
Avoid ScopeGetCurrent in getvalues, use caller
Avoid ScopeGetCurrent in grep, use caller
Avoid ScopeGetCurrent in reglist, use caller
Avoid ScopeGetCurrent in sum, use caller
Avoid ScopeGetCurrent in product, use caller
Avoid ScopeGetCurrent in maplist, use caller
Avoid ScopeGetCurrent in selectservers, use caller
Avoid ScopeGetCurrent in filesexist, use caller