Ensure proper per thread seeding in KRandom.
Summary:
Currently only the first thread to call KRandom::random() will call qsrand()
with a suitable seed. Later threads will use qsrand(1), implicitly.
Instead, use QThreadStorage to keep track to seeding per thread.
Reviewers: dfaure
Subscribers: mpyne, tfry, rjvbb, Frameworks
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D5966