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.

I've never made a pull request on GitHub before. My apologies if I've done something wrong.