Esri JSON encoding / decoding

Made a few minor changes to some Geometry constructors to make Esri JSON and testing easier.