GEOS-6709 fix import transforms, add tests

The modified transforms were using the wrong argument for obtaining
the attribute to transform. This was working for JDBC Feature
implementations but not for others.

Am I using the correct dependency for getting CRS to work?
can you use gt-epsg-hsql