add callback for RenderTexture::saveToFile

changes in this pull request:
1. add callback function for RenderTexture::saveToFile()
2. using callback to create sprite in test case `cpptests->Node:RenderTexture->RenderTexture File Save`