added type-command to protocoll and type function and test function and corresponding rpc function to determine type of a redis key