engine : CoCo: Set status at end of command execution

Set status of commands without child commands and
commands without command callbacks at the end of command
execution

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