RenderTexture.resize fix and RenderTexture.clear added.

Here is a fix for issue #746 so that resize now works properly. Also added a new clear method. And documentation.