Merge pull request #3 from PedroHLC/master

Better compatibility practices
Code cleanup, cosmetics
Adds the tmx_get_tile method.