Add isVariadic() reflection and remove last rest_by_ref usages