Remove unused code from Texture2D.DirectX and do a minor tidy up. Fixes #2306
Tidy up the usings also.
Merge pull request #2386 from danzel/fix-2306

Remove unused code from Texture2D.DirectX and do a minor tidy up