Some bugs in cache usage in base service.

There were some bugs in cache usage in base service for updateEntity and deleteEntity.
Also a bug in cache.js in remove method where the count is not decreased.
Added a sample to  check profile service cache for get and update requests.
Ran the checkinSuite and profilessbtsuite and they all execute fine.