baremetal: refactor out powervm dependency

For some reason part of the baremetal driver was
importing some of the common modules from the
powervm driver. This change moves the code baremetal
was using into a new baremetal only module to remove
the strange cross driver dependency.

Change-Id: Id5f48bed4ecff7cd776346b34c34f3a2094f2296
Merge "baremetal: refactor out powervm dependency"