added functions to clear tiles in a map layer
bound Layer::clearTiles to lua