Add TIN tools

- Fixes bug reading tin files.
- Added test.

@norihiro-w In TINInterface.cpp line 49/50 I close the stream and return the surface. An alternative for this is not to close the stream and to continue instead of returning the surface. Let me know what you prefer.