added _get_cache, returns type of cache being used, added flush cache action at oc-admin->settings->advanced
fixed bug at toTree function, minor improvements