Merge pull request #145 from vikerman/master

When switching contexts reset frame/render buffer bindings to the last buffers bound in script
Add glClear call back again; it's required by some apps. See #145
Close #128 - Added In-App-Purchase API