core : power management types are not updated

Power management types from rest api and admin portal
dont match. The rest api does not values from database.

Change-Id: Ida208b493657415ae2be96f692a1a99099c340e5
Bug-Url: https://bugzilla.redhat.com/955573
Signed-off-by: Ravi Nori <rnori@redhat.com>
engine : Updating host's cluster leads to cloning the host

When trying to move host from one gluster cluster to
another, under certain conditions the operation fails
with an internal server error and the host appears in
both clusters.

This happens only when the host in the target or
source cluster was up during canDoAction and is down
during execution of glusterHostRemove or
glusterHostAdd restulting in NPE.

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