TextureWriter and TextureCubeWriter implemented.
Fix ExternalReferenceWriter.
Merge pull request #3333 from DigitalRune/Add-TextureCubeWriter

Add TextureCubeWriter and fix for ExternalReference