sdk: encapsulate context removal

this patch encapsulate context removal and among
removing cache content, removes the cache instance
as well

Change-Id: I5a4560c17f7d0123e5cc6c33a1b2fc393849e302
Signed-off-by: Michael pasternak <mpastern@redhat.com>