Remove encoder from geotools subproject.

The encoder functionality and tests have been restored to the main repository,
as they do not depend on geotools.