Made the tile attributes more easily moddable

* TILE_TYPE is the basic type of the tile's value (usually an int)
* TILE_MAX is the largest value a TILE_TYPE can have (for bounding & tilesets)
* TILE_NONE indicates invisible (not set) tiles

These can be changed for different platforms or different memory
footprints.