Fixes simplecache issues

I noticed in my syte that HTML buttons shows/hides randomly. This is caused because js is cached with simplecache, so admins will allowed to use the button and regular users not. I used elgg js api to fix it.

Tinymce language is also cached and I changed it too.