[#523] Code cleanup

* Use `putObject` and `containsKey` from MemcacheUtils
* This functions handle runtime exceptions, and possible null value for
  cache object