[core.cache] fix cache decorator when getting class attribute
[reductors.linear] small tweak
[docs] no need to monkey sage_getattr anymore

as the cache decorator is now fixed