started implementation for web restful cps option
- add the cache_only param
- fix minor bug
- fix memory leak on direct io implementaiotn of key data driver