Allow client cache auto regenerate

Allow client cache auto regenerate

http://www.trinitycore.org/f/topic/10425-client-cache/#entry68245
do not use rand(), ever.

@jackpoz this is a custom change to allow "forcing" the client to discard cache