Added support for tile terrain information

This makes it easily accessible by automatically translating the terrain
index references to direct references to the terrain definitions in the
tileset.
Fixed Map:convertTileToScreen and Map:convertScreenToTile

Their implementations were reversed.
Provide access to the local tile id
Merge pull request #63 from bjorn/master

Added terrain information, local tile id and fixed coordinate conversion