(class-fields object) -> list
Returns a list of the fields for a given object or class of objects.
Example:
>> (class-fields <port>) :: (read-fn write-fn close-fn closed)