Add a method to get PolygonEntities by Compactness

    
  * Added a getPolygonEntitiesByCompactness() method for PolygonGraph
  * Added related tests