added function to determine type of a redis key and did some refactoring of var names
Merge branch 'master' of https://github.com/evalgo/evapi