Add optional precision argument to Base.formatFloat().
Simplify Base.serialize().
Rename Raster's ImageData code from *Data to *ImageData, to avoid clash with future Item#data.
Add options argument to #toJson() methods, and use to implement optional fractional digit precision control.