Define constant DS in core package if not available.
Remove use of CACHE constant in cache package.
Fix CS error.
Fix constant already defined error when running only Cache tests.
Remove use of LOGS constant for Log package.
Merge pull request #5458 from cakephp/3.0-constants

3.0 constants