Fix preferences cache
- Fix the problem that preference cache was not reset when
setPreferredSomethingwas called, only whenedit(preferred_something=) - Implement something more advanced than just
portal_cache.clearCache()so that when a user change their preference, only preference of this user are affected. - Increase default cache duration, now that we invalidate caches properly.