PROTON-227: Created the Data class for the Ruby bindings.

The APIs are more Ruby-esque, replacing most of the put_type methods
with type=, and get_type with type.