Add property $_config to StaticConfigTrait.

This avoids having to declare the property in each class that uses the trait.
Merge pull request #3215 from ADmad/3.0-config

Add property $_config to StaticConfigTrait.