added outer join (state) the ORM. state code now retrieved from State not County
added new inheritance level for Legaldescription_USA and Canada.
ensure_polygon function converts multipolygon into polygon, returns the largest polygon from the collection