Add new_from_s to Record and DataField

Added new method (self.new_from_s) to Record and DataField to
provide a convenient, round-trip compatible way to construct
those objects from a string representation (following the
existing to_s format). Tests included.