Support JsonCodec.encode for JtsCodecs

Implementing encode method on JtsCodecs so we can convert JTS objects to GeoJSON with this library. From here I would like to deprecate existing usage of GeoTools GeoJSONWriter in Geospace and Soda Server, which has some dangerous precision defaults and pulls in a slew of unnecessary dependencies.
Thanks for the additional tests!!