Fixed FieldsMacro to get the correct name for a thrift struct field.

Also added tests for the fields macro.

This closes #89.
Renamed field value to field name.