GEOS-6238: added support for withattributes option to dxf community module

New format option withattributes to enable writing an extra layer with attributes from each feature, the layer has a punctual geometry, with a point in the centroid of the original feature
Also added some logging.