feat(Tiled): attach reference to original xml dom for each tiledbase

- add test for new behavior
test(TiledTMXResource): objectgroup color and encoding requirements

 - properly fails if the map layer encoding is not CSV.
 - properly fails on bad inline tileset source.
 - check that color is extracted properly in map test.