ruby: base64-encode the packed arrays returned by to_simple_value
add the size to the packed arrays returned by ArrayType#to_simple_value

This is for consistency reasons with the containers. From the point
of view of the receiving end, there is most likely not a difference
between fixed-size and variable-size arrays, so allow to handle them
the same way.