Some fixes for rendering and GridCoverageLayer.

Deprecated old Geotools layers.