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.
Merge pull request #71 from dmerc/patch-1

Update TiledLayer.hx