Fixes #4114: Added Security::generateRandomHexKey(), used it for various tokens and default key generation
Merge pull request #4115 from yiisoft/security-adjustments

Added Security::generateRandomHexKey(), used it for various tokens and default key generation