Wrap config's data hash in mutex
Merge pull request #412 from strzalek/thread-safe-config

Make Config class thread safe.