Added getSpyImages support
Added getSpyImages support

Other small code cleanup from porting code from other source

Signed-off-by: Jason Albert <fa03034561e2b166380dd3e144e93f10ef6a69c2@us.ibm.com>

open-power/eCMD,open-power/eCMD,open-power/eCMD,open-power/eCMD,open-power/eCMD