engine : Save CommandContext in ContextCache

Cache the command context in ContextCache
which is backed by a map.

Change-Id: I6b968f787b60f83cf96411a97dd6380421f724b9
Bug-Url: https://bugzilla.redhat.com/1115127
Signed-off-by: Ravi Nori <rnori@redhat.com>