ecmascript: Add some documentation to es_context_release()
ecmascript: Add cachePut() and cacheGet()

Fixes #2345