Some bugs in updating js cache in updateEntity and deleteEntity of base
service.
Added a new sample to check profile cache, a bug in cache.js and
profileservice.js
Remove commented out code.
Merge pull request #216 from projsaha/jsDefects

Some bugs in cache usage in base service.