Update TiledLayer.hx

add method to get the layers' encoding method, and add an error message when trying to get tileArray data from layer that is not base64 encoded.