The localization is improved for validation logic.

The new constant `__QAPPLICATION_ENCODING_TYPE__` is here to break inclusion loop between QApplicationBase and QString.
The constant `__QAPPLICATION_ENCODING_TYPE__` itself.
Cache provider improvements

* PHPdoc comments are added
* LocalMemory provider is patched to clone objects in Get/Set operations to prevent same object sharing and modifying.
* QMultiLevelCacheProvider is patched to work properly.
* CreateKey function is adopted to work with older php versions
Merge branch 'master' of github.com:olegabr/framework into feature-EncodingType
Merge branch 'master' of github.com:olegabr/framework into feature-CacheProviderImprovement
The constant for encoding is copied into the config for the travis test
Merge pull request #265 from olegabr/feature-EncodingType

Validation logic is incorrect for non-english languages #264
Merge branch 'master' of github.com:olegabr/framework into feature-CacheProviderImprovement
Merge pull request #267 from olegabr/feature-CacheProviderImprovement

Problems with cache providers are solved
Merge branch 'master' of github.com:olegabr/framework into feature-apidoc