Methods that start with '__' changed to start only with '_'. Added ReadOnlyText class. Cache handler tests fail.

Test fail cause of non-implemented purge_all_cache method that should clear all caches.