Improve ST_Translate + unit tests

This should fix the issue described in #284. The behavior implemented is
consistent with PostGIS.