split -> explode; Map Polygon support

Changed all uses of split to explode in PHP (deprecation)
Added basic support for Polygons in PHP code, but it is not yet fully
supported on the JS side: the way things work with Leaflet makes it
very difficult to accomplish