Ruby: Use base64 encoding for  :pack_simple_arrays option (to_simple_value)

Uses base64 encoded strings as return value for to_simple_value, in case :pack_simple_arrays option is used.

Base64.strict_encode64 is available from ruby 1.9.2, it is needed, bacause Base64.encode64 fills the String with additional newlines at teh end or after 40 chars (default in http headers, but not wanted here).
So it is the number of elements of the original container?

That one can be calculated from the pack code and the string length.