Correct spelling of function getMajorVersion

Corrected the name of the function and provide a proxy for backwards compatibility. Refs #4804
Corrected trailing spaces in docBlock of GetMayorVersion

Updated existing docblock to be more inline with other depricated functions and added the deprecation version
Update unit tests to test the new function, and not the old incorrect spelling
Use corrected function name in Cache\Storage\Adapter\Redis

Update the Redis cache adapter to use the corrected function name getMajorVersion from the RedisResourceManager
Merge pull request #4830. Fix #4804