Geometry functions was added (again).

I wrote some geometry functions to operate with DGPoint, DGSize, DGRect.
They looks like NSGeometry functions by Apple. :)

Also I  changed _centerOfPolygon method. It is smaller and (maybe)
faster now.