Infra: Refactor fapi2 library to use ecmd base.
Infra: Refactor fapi2 library to use ecmd base.

Change-Id: I5bb03ab8a22c281cccc433cc0fd3f94a97ab3422
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/20335
Tested-by: Jenkins Server
Reviewed-by: STEPHEN M. CPREK <449c81c8ca240ee26e6e5e8e94a7cb83f7b02ee8@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <ab93eca12e43608f33daa16a67357cd7b7e867ab@us.ibm.com>

open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot,open-power/hostboot