fixed Schema read_attribute when using custom data_field

I was trying to use a custom data field (e.g. serialize_attributes :goals, :blob => :raw_goals) when I encountered a bug in the read_attribute method. It was assuming the field name was data and was raising NameError: undefined local variable or method. I fixed it and added a test for it.