correct Tilemap.hasTile(...) parameter typing

Member methods of Tilemap which take a layer parameter use getLayer on
that parameter to allow passing int, string, and TilemapLayer objects.
Tilemap.hasTile(...) should do so as well.
Merge pull request #680 from Raeven0/dev

correct Tilemap.hasTile(...) parameter typing