initial import of redis_cacher.go moved from xorm/cacher-tag branch
add serialization tests