Since we decided in issue #8 to use module level helper functions instead of instance methods, I want to add the first such function.
dataclasses.fields(cls) will return a tuple of Field objects defined in cls. Each Field object represents one field in the class.
This will be the basic building block for a number of introspection methods.
attrs returns object that can be either indexed or accessed by field name. I think that's a good idea, but I'm not going to implement it at first.