Integrated software raid

(cherry picked from commit d86083077ea4e36baa07ee97da62df9c227b1c9a)

This is exactly https://github.com/crowbar/barclamp-provisioner/pull/268 -- there was no conflict during cherry-picking.