Rename class_fields to class_properties and cleanup

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
doc: Document class_properties

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>