Fix sync crash in DumpCache when using a foreach over a Dictionary.  If the dictionary changes when we are iterating over it then it causes a sync error.  We copy it out to a list and then iterate over it.  Also, add non open GL support for wrap and clamp to Texture2DTests.