Register the javascript views to simplecache

The simplecache views cannot be accessed if the call to elgg_register_simplecache_view() is missing.

It should had been done like this from the very beginning in Elgg 1.8. The current implementation did also work at first but a bugfix in 1.8.14 brought out the fact that many plugin devs hadn't registered simplecache views correctly.