Azoth: don't double-call PrepareTheme().

It used to be called twice on chat tab opening if separate MUC log was
enabled.
Azoth AS: bigger avatar cache.
Azoth AS: don't clean caches on frame destroy.
Util: migrate to range-based for in ResourceLoader.

Avoids unneeded copies/destroys.
Azoth: const ref.