Makes sure redis is never call with undefined key parameters.
Put all the function param checks in one function.

This allows to have all this logic in one place and keep the code cleaner.
Merge with master
Merge master
Merge pull request #248 from mozilla-services/1090140-redis-undefined

Makes sure redis is never call with undefined key parameters.